Win32 Common Controls in C++, how do i make and use them?

This is a discussion on Win32 Common Controls in C++, how do i make and use them? within the Windows Programming forums, part of the Platform Specific Boards category; i know how to make the simple controls like buttons and edits etc.... but how do i make.. progress bars ...

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

    Post Win32 Common Controls in C++, how do i make and use them?

    i know how to make the simple controls like buttons and edits etc....

    but how do i make..

    progress bars how do i use them and how can i make them look like XP not windows 95, track bars how do i make and use them? i have no clue how to make and use a checked list box, how do i make a list view and a a tree view?, how do i make panels? how do i make tooltips, up down spinners, tabs, data grids, link labels and how to open the link in a webpage, Rich Text Boxes, image lists, splitters, Print Document, Page setup dialog, print review controls print preview dialogs and print dialog, font , color, and folder browser dialogs, and a context menu.


    sorry for alll the requests, i dont expect answers for all of them, ive tried and tried again to look for tutorials on these. I know these controls from C# and cannot do them in C++, most of all, i dont know how to use them. Making them is one thing, gettingdata from them and using them is another. thanks in advance.

    PS: Sorry for typos and grammer errors, i was in a rush. Also tutorials would be nice :P
    New Function!!!!

    glAddIdol(C+noob);

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

  2. #2
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,047
    You might want to try google for tutorials (or www.cprogramming.com/tutorial.html).
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

  3. #3
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    Posts
    970

  4. #4
    The N00b That Owns You!
    Join Date
    Jul 2005
    Location
    Canada!
    Posts
    178
    yes, those wiondows ones i have, but they dont cover the controls i want to learn about
    New Function!!!!

    glAddIdol(C+noob);

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

  5. #5
    Yes, my avatar is stolen anonytmouse's Avatar
    Join Date
    Dec 2002
    Posts
    2,544
    The second link in Dante's list, FoosYerDoos has extensively commented code for most of the common controls. MSDN provides sample code for the common dialogs.

  6. #6
    The N00b That Owns You!
    Join Date
    Jul 2005
    Location
    Canada!
    Posts
    178
    howe does everyone find all this stuff on msdn? i search it on MSDN and i cant find it :S

    EDIT: ive been to FoosYourDoos, i dont program in Unicode, and it seems deprecetated, as it uses stuff that doesnt need to be used like loading the program's icon and cursor ith LoadImage() instead of LoadCursor or LoadIcon etc.
    Last edited by C+noob; 01-09-2006 at 03:12 AM. Reason: FoozYourDoos
    New Function!!!!

    glAddIdol(C+noob);

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

  7. #7
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    Posts
    970
    FoosYerDoos uses LoadImage(), which is not deprecated.

    In fact it's recommended over LoadCursor and LoadBitmap. Take a look at the MSDN documentation:

    Note This function has been superseded by the LoadImage function.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21