|
-
May 9th, 2002, 10:36 PM
#1
Can I ask why? If I know what you are trying to accomplish I may be able to help you a bit better...
-
May 10th, 2002, 02:13 AM
#2
New Member
I need it for tab kontrol. I know how to show dialog with:
CDialog* pDialog = new CDialog;
pDialog->Create( NULL,this);
pDialog->MoveWindow(CRect(10,10,100,100),TRUE);
pDialog->ShowWindow(TRUE);
pDialog->UpdateWindow();
But I have problems with scroll bars. How to activate that.
-
May 10th, 2002, 06:59 AM
#3
New Member
The problem is that I need to show tab control on one part of Dialog (dialog1 for example). For "tabs" I use other dialogs (dialog2, dialog3 etc.).
Well dialog2 is bigger than area where I need to show it, so I need to use scroll bars of dialog2.
-
May 13th, 2002, 04:00 AM
#4
New Member
Nobody?
Ok, anyone know some good forum for c++, like vbforums.com is for Visual Basic?
-
May 13th, 2002, 08:32 AM
#5
I think the tab control has native support for this, try CTabCtrl.
You might want to use the CPropertySheet class...
You can also activate scroll bars in the dialog properties...
I don't really get what you want to do.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
May 13th, 2002, 09:26 AM
#6
New Member
-
May 13th, 2002, 12:57 PM
#7
I think if I saw scroll bars to scroll a dialog I'd immediatly uninstall the app...
In the MSVC dialog editor go to the dialog properties and select both Horizontal Scroll and Vertical Scroll. Is this what you want? (You'd need to handle the scroll messages, but that isn't that much of a problem)
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
May 14th, 2002, 02:51 AM
#8
New Member
OK, maybe I dont need dialog,
I just need to show about 20 edit boxes in one area of the dialog. That area is small, so I need to use scroll bars. I thought that is simple to do. Anyone know how to do it, or have some example about it?
-
May 14th, 2002, 05:43 AM
#9
As I said, reconsider that approach. It wouldn't be a sign of good style.
You can place scroll bar controls on the dialog and handle the messages with MoveWindow calls to the edit boxes...
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|