Thread: creating menus and other stuff

  1. #1
    The N00b That Owns You!
    Join Date
    Jul 2005
    Location
    Canada!
    Posts
    178

    creating menus and other stuff

    ive read all the basics one tut i found just teaches you how to creat the menu using vc++ not the code were can i get a tutorial on menu's i also figured out ALL the basic stuff and would like to move onto more advanced API programming any good sites? and how do you creat .ico and .cur files? w/o vc++
    New Function!!!!

    glAddIdol(C+noob);

    The feeling of rusty spoons against my salad fingers is almost ORGASMIC

  2. #2
    Dump Truck Internet valis's Avatar
    Join Date
    Jul 2005
    Posts
    357
    Check out InsertMenuItem, CreateMenu, CreatePopupMenu, DestroyMenu, TrackPopupMenuEx

    For .ico files I use photoshop.

  3. #3
    Registered User joed's Avatar
    Join Date
    Mar 2004
    Posts
    59
    ImageEdit and AniEdit are old, but useful:
    http://www.freepctech.net/files/imagedit.zip

  4. #4
    The N00b That Owns You!
    Join Date
    Jul 2005
    Location
    Canada!
    Posts
    178
    Quote Originally Posted by valis
    Check out InsertMenuItem, CreateMenu, CreatePopupMenu, DestroyMenu, TrackPopupMenuEx

    For .ico files I use photoshop.
    hgow would you define the hotspot?
    New Function!!!!

    glAddIdol(C+noob);

    The feeling of rusty spoons against my salad fingers is almost ORGASMIC

  5. #5
    Dump Truck Internet valis's Avatar
    Join Date
    Jul 2005
    Posts
    357
    Windows handles item selection, if your menu is ownerdraw windows sets the ODS_SELECTED flag of DRAWITEMSTRUCT.itemState of an item if the mouse is in menuWidth x itemHeight of an item (sorry if that's somewhat cryptic, wasn't sure how to word it)

Popular pages Recent additions subscribe to a feed