awesome name :-\ you just enlighten me ,take a look at this name public TitlesInfo { .... // Customer Title id. public string CustTitsID; .... } well, some scientist said there are no same tits in this world, too ,they are all unique . :laugh: Today is a gift, that's why we call it present
Ray Guan
Posts
-
Naming ! ! ! -
[SURVEY] How many people here play DOTA game?lol, me 2, i keen on the close and long game. that's always bring me a lot of fun. my ID in DOTA official site is also nickong, meet u there, buddy :D :laugh:
Today is a gift, that's why we call it present
-
[SURVEY] How many people here play DOTA game?tatchung wrote:
And yeah...that is quite an addictive game
Let me guess back, you are also a DOTA fans ;)? GG Client ? :doh: do you mean this one ? http://www.gg-game.com thanks :laugh:
Today is a gift, that's why we call it present
-
[SURVEY] How many people here play DOTA game?i think at least you should heard about BLIZZARD ? :omg:
Today is a gift, that's why we call it present
-
[SURVEY] How many people here play DOTA game?Micu Radu wrote:
HI I am a very big fan of dota What do you want to share?
:D i am too addict to it, how about you ? :->
Today is a gift, that's why we call it present
-
[SURVEY] How many people here play DOTA game?on battle.net , you will see lots of DOTA host . check it out.
Today is a gift, that's why we call it present
-
[SURVEY] How many people here play DOTA game?anybody knew DOTA ? a famous Warcraft3 game map. http://www.dota-allstars.com ;) as a programmer, in my spare time, i play DOTA game. if u r a dota fans like me, share something with me . :D
Today is a gift, that's why we call it present
-
How to SubClass a checkbox on a DialogBarany help? Today is a gift, that's why we call it present
-
How to SubClass a checkbox on a DialogBarhi, all a problem trouble me for a long time. X| and i have been looking for the answer for a long time. but i still can't solve it,i hope somebody can give me a little suggestion. thanks in advance. my dev platform: MFC 7 & Windows Server 2003 my question: i want to subclass my checkbox on a dialogbar, and load my bitmap to the checkbox's face. all of my checkbox were set to push like style here owner-draw mode was set to true . in headfile MyDialogBar.h ====================================================
CBitmapButton m_btnCheck; BOOL InitButtons();
==================================================== in cppfile MyDialogBar.cpp ====================================================BOOL CMyDialogBar::InitButtons() { m_btnCheck.SubclassDlgItem(IDC_TOOLBTN_SELECT, this); m_btnCheck.LoadBitmaps(IDB_BITMAP_ICON_SELECT); }
==================================================== in headfile MainFrm.h ====================================================CMyDialogBar m_myDlgbar;
==================================================== in cppfile MainFrm.cpp ====================================================int CMainFrm::OnCreate(...) { if(!m_myDlgbar.Create(...)) { TRACE0("sorry >_< "); return -1; }; m_myDlgbar.InitButtons(); }
==================================================== Notes:**IDB_BITMAP_ICON_SELECT**
is a ID of bitmap resource file created by resource editor , i want this bitmap loaded on the checkbox button.**IDC_TOOLBTN_SELECT**
is the ID of the CheckBox the checkbox can works fine, but i just cannot put my bitmap on it. why?? :confused::confused: i used to subclass my checkbox and load a bitmap on its face for many times in common dialog application , there is no problems. why i use it in dialogbar, it doesn't work, and no error occured , the checkbox button works fine.:confused: i found something seems to be useful on MS KB, i rewrite my code , and it still does not work, :doh: http://support.microsoft.com/kb/185672 anybody here met this problems before? can you get me out of this swamp:((? can anybody post some related sample code or links here ? thank you very much ;) any suggestion should be appreciated!:):rose: sincerely, nickong Today is -
HELP!!! SQLsearch MSDN by keywords "ADO.NET" ,there are lots of samples tell us how to do so Today is a gift, that's why we call it present
-
How to draw lines then undo ???do u have any tech document about drawing package , can u show me some URL ? i think i should take some basic ideal about that first,thanks :^)
-
How to draw lines then undo ???thank you anyway, i'll try to do that follow the basic idea.:cool: thank you, nick kong
-
How to draw lines then undo ???"Assuming it would be a drawing package,and not straight undo/redo stuff." in another words , it means ....??:doh:
-
How to draw lines then undo ???ye, u r correct, Mr.lespaul36, the hard part gonna be the erasing of the selected line . all lines go diagonal , i cannot find a good data structure to store the info of a line. i cannot capture which point i right clicked on the line. i cannot stroe all points of a line. then loop to find them,oh, i am confused X|
-
How to draw lines then undo ???thank you very much, Mr. Graus , you said ditch the pictureBox , i think your news was too bad for me, most of my work i have already done was base on the picturebox, because i need a scrollable area to display my data . but now, i think it was a mistake. i am looking for other way to implement this. can u post some sample code to implement "UNDO" here,i need some reference. both C++ or C# are welcome, best in VB.NET, thanks a lot. best regards, nick debug.writeline("am i sexy"):laugh:
-
How to draw lines then undo ???thank you, Mr.anonymous, you mentioned use array to save line draw info, can you show me some sample code ? i made some pseudo code like this i define a structure to store information of the line cooridanites , like this : structure LineInfo strartPoint as point endPoint as point myColor as color paintORnot as boolean end structure but i think it's useless, base on these infomation , i can not find the line i want to erase, and when i drew thourands of lines, the search procedure would cost huge system resource, i think , right? what u think of this ? thanks , nick debug.Writeline("am i sexy"):laugh:
-
How to draw lines then undo ???hi, all i am going to implement a WinForm Control which contain a picturebox control , i want to draw lines on the picturebox , when i drags the mouse(left button) , a straight line will be drawn, and whenever i right clicked on one of the lines , it will disappear, how to implement this by GDI+ , can anybody post some sample code here or some URL may helpful. any suggestion would be appreciated! thanks a lot best regards, nick kong debug.writeline("am i sexy"):laugh: