NO

Author Topic: Looking for example code for modal or non-modal pop up dialog  (Read 1533 times)

rp108

  • Guest
Looking for example code for modal or non-modal pop up dialog
« 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

Offline TimoVJL

  • Global Moderator
  • Member
  • *****
  • Posts: 1857
May the source be with you

rp108

  • Guest
Re: Looking for example code for modal or non-modal pop up dialog
« Reply #2 on: October 08, 2015, 04:07:57 am »
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

  • Guest
« Last Edit: May 19, 2019, 05:05:44 pm by Jokaste »

Jokaste

  • Guest
Re: Looking for example code for modal or non-modal pop up dialog
« Reply #4 on: May 24, 2019, 01:05:34 pm »
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