- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Thanks to earlier support, I now have a scrolling window almost working. I have a problem with finishing its use.
When I have written the last line, I send a call to MessageBox with a Yes/No reply. I want the messagebox to appear on top of the scrolling window but for the scrolling window to remain and not to disappear. When I have replied to the messagebox Yes/No then I want the scrolling window to remain for "No" or to disappear for "Yes". I can do the Yes/No easily.
At the moment, the messagebox will not appear until I "X" the scrolling window. How do I let the scrolling window remain and for control to continue to the messagebox?
Running in debug, I can continue until the call to MessageBox. All this time the scrolling window is showing. Then, when I get to the MessageBox call, debug stops (waiting on input). I then have to click the "X" to close the scrolling window before the messagebox appears. I expect that it is one of the operational commands in createwindowex or the last argument in the call to MessageBox, but I cannot work out which one to use.
I would appreciate help in what is probably a very simple problem.
- Marcas:
- Intel® Fortran Compiler
Link copiado
1 Responder
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
It's difficult to tell offhand, but it seems as if the message box is showing, but it is somehow hidden behind your "scrolling window".
To ensure that the message box is above your window, and that the window is disabled at the same time (providing modal behaviour of the message box), specify the handle of the "scrolling window" as the first argument (hWnd) of the MessageBox routine. If it's QuickWin, GETHWNDQQ returns that handle.
If I'm wrong, please providea sketch of your code.
Jugoslav
Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora