Several dialog boxes
-
Is it possible to open up dialogboxes as many numbers as an user wishes and specifies at run time? If possible then how? How can I make a bitmap resource clickable so that a new dialog box appears when it is clicked ,in which there may contain the same bitmap resource along with the upper said clickable criterion???:^)
-
Is it possible to open up dialogboxes as many numbers as an user wishes and specifies at run time? If possible then how? How can I make a bitmap resource clickable so that a new dialog box appears when it is clicked ,in which there may contain the same bitmap resource along with the upper said clickable criterion???:^)
joy007 wrote: Is it possible to open up dialogboxes as many numbers as an user wishes and specifies at run time? I don't understand this question. If you mean, is it possible to have multiple dialog boxes open at the same time, the answer is yes, if you make them modeless dialogs. joy007 wrote: How can I make a bitmap resource clickable so that a new dialog box appears when it is clicked See this[^] article to create a bitmap button that displays as a static control (i.e. without the button border). Display your dialoig in the button's handler. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com
-
Is it possible to open up dialogboxes as many numbers as an user wishes and specifies at run time? If possible then how? How can I make a bitmap resource clickable so that a new dialog box appears when it is clicked ,in which there may contain the same bitmap resource along with the upper said clickable criterion???:^)
yes. just do something like :
/// handler for the click in the bitmap...
...
CYourDialog* p = new CYourDialog( ID_OF_THE_BITMAP_YOU_JUST_CLICKED_ON );
p->Create( ... );
p->ShowWindow( SW_TRUW );
...You will need to keep track of the dialogs so you can delete them eventually.
Maximilien Lincourt Your Head A Splode - Strong Bad
-
yes. just do something like :
/// handler for the click in the bitmap...
...
CYourDialog* p = new CYourDialog( ID_OF_THE_BITMAP_YOU_JUST_CLICKED_ON );
p->Create( ... );
p->ShowWindow( SW_TRUW );
...You will need to keep track of the dialogs so you can delete them eventually.
Maximilien Lincourt Your Head A Splode - Strong Bad
Huh? :wtf: /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com
-
Huh? :wtf: /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com
what ??? it should have been
->ShowWindow(SW_SHOW);
:confused:
Maximilien Lincourt Your Head A Splode - Strong Bad
-
Is it possible to open up dialogboxes as many numbers as an user wishes and specifies at run time? If possible then how? How can I make a bitmap resource clickable so that a new dialog box appears when it is clicked ,in which there may contain the same bitmap resource along with the upper said clickable criterion???:^)
joy007 wrote: Is it possible to open up dialogboxes as many numbers as an user wishes and specifies at run time? If possible then how? Ravi,I mean to say,that when an user draws an item in a document and next double clicks on the drawn item leading to open up a dialog box or another document which may or may not contain the same item drawn.If same item is found drawn on this new document and double clicked it should open up another dialog box or document and so on.... Actually I want the to make the item as multilevel so that an user can go through easily from its root level to node.
-
joy007 wrote: Is it possible to open up dialogboxes as many numbers as an user wishes and specifies at run time? I don't understand this question. If you mean, is it possible to have multiple dialog boxes open at the same time, the answer is yes, if you make them modeless dialogs. joy007 wrote: How can I make a bitmap resource clickable so that a new dialog box appears when it is clicked See this[^] article to create a bitmap button that displays as a static control (i.e. without the button border). Display your dialoig in the button's handler. /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com
Ravi Bhavnani wrote: If you mean, is it possible to have multiple dialog boxes open at the same time, the answer is yes, if you make them modeless dialogs. Whether they are modal or modeless, multiple dialogs can be open simultaneously.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
-
Ravi Bhavnani wrote: If you mean, is it possible to have multiple dialog boxes open at the same time, the answer is yes, if you make them modeless dialogs. Whether they are modal or modeless, multiple dialogs can be open simultaneously.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
I understood "open" to mean "accept user input". /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com
-
I understood "open" to mean "accept user input". /ravi My new year's resolution: 2048 x 1536 Home | Articles | Freeware | Music ravib@ravib.com
It was not an intuitive question no matter how you sliced it.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow