Pelles C forum
C language => Beginner questions => Topic started by: rp108 on October 07, 2015, 04:51:41 PM
-
I have a Pelles C app running.
It is a dialog based win32 application.
I have a single dialog now.
While MessageBoxes are great for small notifications,
I would like to add a modal dialog or a non-modal dialog
so that I can have an editbox, checkboxes and maybe a scroll box,
on the pop up dialog.
I have downloaded quite a few Pelles C sample programs but have only seen MessageBoxes as pop ups.
google searching also did not turn up any examples....
My understanding is that a modal dialog has to be closed before you can return to the mother dialog, and a non-modal dialog is independent of the mother dialog.
Any help with finding some sample code for Pellex C is greatly appreciated.
Thanks,
Rob
-
Look theForger's Win32 API Programming Tutorial (http://www.winprog.org/tutorial/)
-
Hi Timo,
Thank-you for reply.
I do have Forger's tutorial.
I have built a number of his examples.
Guess I'll go through it again.
I'm not clear on how to pop a dialog from within another dialog, but I keep studying it.
Thank-you and all the best to you,
Rob
-
Take a look at https://www.dropbox.com/s/k7fb15c3f1o4yf8/forgers-win32-tutorial.pdf?dl=0 (https://www.dropbox.com/s/k7fb15c3f1o4yf8/forgers-win32-tutorial.pdf?dl=0)
Page 39 to 42
Take a look Here (https://docs.microsoft.com/fr-fr/windows/desktop/dlgbox/about-dialog-boxes#modeless-dialog-boxes)
-
Download source code of PasswordFinder you will try what you want into PasswordFinder.c see routine DlgGeneratePassword or DlgReprise. https://forum.pellesc.de/index.php?topic=7952.0 (https://forum.pellesc.de/index.php?topic=7952.0)
-
Simple example.