NO

Author Topic: Looking for example code for modal or non-modal pop up dialog  (Read 4316 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: 2144
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

Offline John Z

  • Member
  • *
  • Posts: 912
Re: Looking for example code for modal or non-modal pop up dialog
« Reply #5 on: November 29, 2019, 12:49:57 PM »
Simple example.