Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
R

Ray Guan

@Ray Guan
About
Posts
17
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Naming ! ! !
    R Ray Guan

    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

    The Weird and The Wonderful sales

  • [SURVEY] How many people here play DOTA game?
    R Ray Guan

    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

    The Lounge com game-dev question

  • [SURVEY] How many people here play DOTA game?
    R Ray Guan

    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

    The Lounge com game-dev question

  • [SURVEY] How many people here play DOTA game?
    R Ray Guan

    i think at least you should heard about BLIZZARD ? :omg:

    Today is a gift, that's why we call it present

    The Lounge com game-dev question

  • [SURVEY] How many people here play DOTA game?
    R Ray Guan

    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

    The Lounge com game-dev question

  • [SURVEY] How many people here play DOTA game?
    R Ray Guan

    on battle.net , you will see lots of DOTA host . check it out.

    Today is a gift, that's why we call it present

    The Lounge com game-dev question

  • [SURVEY] How many people here play DOTA game?
    R Ray Guan

    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

    The Lounge com game-dev question

  • How to SubClass a checkbox on a DialogBar
    R Ray Guan

    any help? Today is a gift, that's why we call it present

    C / C++ / MFC help question c++ com graphics

  • How to SubClass a checkbox on a DialogBar
    R Ray Guan

    hi, 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

    C / C++ / MFC help question c++ com graphics

  • HELP!!! SQL
    R Ray Guan

    search 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

    Visual Basic database help question

  • How to draw lines then undo ???
    R Ray Guan

    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 :^)

    Visual Basic winforms graphics debugging tutorial question

  • How to draw lines then undo ???
    R Ray Guan

    thank you anyway, i'll try to do that follow the basic idea.:cool: thank you, nick kong

    Visual Basic winforms graphics debugging tutorial question

  • How to draw lines then undo ???
    R Ray Guan

    "Assuming it would be a drawing package,and not straight undo/redo stuff." in another words , it means ....??:doh:

    Visual Basic winforms graphics debugging tutorial question

  • How to draw lines then undo ???
    R Ray Guan

    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|

    Visual Basic winforms graphics debugging tutorial question

  • How to draw lines then undo ???
    R Ray Guan

    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:

    Visual Basic winforms graphics debugging tutorial question

  • How to draw lines then undo ???
    R Ray Guan

    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:

    Visual Basic winforms graphics debugging tutorial question

  • How to draw lines then undo ???
    R Ray Guan

    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:

    Visual Basic winforms graphics debugging tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups