| | |
HELP needed in VC++ Project!!!
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Sep 2006
Posts: 5
Reputation:
Solved Threads: 0
Hi, I'm doing a VC++ project, which requires me to create multiple CWnd objects and put them into one dialog box for viewing. For example, I need to create 100 buttons with 1-100 written on them, and put them into one dialog box. Of course the dialog box can't show them all at once, so there need to be a scroll bar of some sort for the user to drag and view all the buttons. However after fumbling around hours after hours and reading some reference books, I can't find the method to accomplish the above mentioned task. I figure there may be some kind of "container" object to place on the main dialog box to contain all those text buttons, and to browse them with a scroll bar, but I can't find such "container" object anywhere.
Anyone can help on this? Thanks!
Anyone can help on this? Thanks!
•
•
Join Date: Sep 2006
Posts: 5
Reputation:
Solved Threads: 0
•
•
•
•
derive the class from CFormView instead of CDialog and MFC will put scroll bars on it and handle them appropriately for you.
http://my.opera.com/yeya0/homes/albums/111001/shot1.JPG
http://my.opera.com/yeya0/homes/albums/111001/shot2.JPG
http://files.myopera.com/yeya0/albums/111001/shot3.JPG
It's really frustrating
Could you please provide some links to examples or code or explain some more? Thanks a lot again! ![]() |
Similar Threads
- Help needed for a project concerning protected mode (Assembly)
- Need A Pro Coder Mysql Php Website Designer! Will Pay! For This Project (Web Development Job Offers)
- Help needed for project (Java)
- amateur coders needed , project in audio streaming (C++)
Other Threads in the C++ Forum
- Previous Thread: what is the difference between (ptarray[]) AND &(ptarray[i]) in below example
- Next Thread: Included file not found during compile time.
| Thread Tools | Search this Thread |
Tag cloud for C++
api application array arrays assignment based beginner binary bitmap c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete deploy developer dll dynamiccharacterarray email encryption error file format forms fstream function functions game generator getline givemetehcodez graph iamthwee ifstream image input int java lib list loop looping loops map math matrix memory multidimensional multiple newbie news node number numbertoword output pointer problem program programming project python random read recursion recursive reference rpg simple sorting string strings template templates text tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






