Andreas Richter
March 30th, 1999, 02:15 AM
I have created a dialog - box with my resource construction kit. Now I want to show or hide this object relating to program - structure. I dont want to use the DoModal-function, because this function waits for user - action (there is no user - editable part inside at all).
Is there a possibility to create, draw and clear this object without using DoModal? Can I handle the CDialog - object like a CWnd - Object and attach it as a child to my mainwindow?
The other possiblity I think is to leave the DoModal function with creating a message-map and getting a timer - message. So I can insert my cade - parts and end the dialog with EndDialog(). But what kind of message must I wait for? Is there a WM - Message or somewhat which makes it able to jump immediately (milliseconds or so :-)) ) to my code??
Best regards
Andreas
Is there a possibility to create, draw and clear this object without using DoModal? Can I handle the CDialog - object like a CWnd - Object and attach it as a child to my mainwindow?
The other possiblity I think is to leave the DoModal function with creating a message-map and getting a timer - message. So I can insert my cade - parts and end the dialog with EndDialog(). But what kind of message must I wait for? Is there a WM - Message or somewhat which makes it able to jump immediately (milliseconds or so :-)) ) to my code??
Best regards
Andreas