Looking for example code for modal or non-modal pop up dialog

Started by rp108, October 07, 2015, 04:51:41 PM

Previous topic - Next topic

rp108

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


rp108

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


Jokaste


Jokaste

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