Page 1 of 1

how to make a requester ?

Posted: Sun Oct 16, 2005 5:25 pm
by Dr. Dri
i would like to make a requester but i don't know how to lock the main thread like the requester lib does.

btw, i don't know how to make a window with a titlebar and a closegadget inside without min/maximize gadgets nor system menu (and its icon)

Dri

Posted: Sun Oct 16, 2005 6:25 pm
by Straker
Maybe this thread will help:

viewtopic.php?t=6060

Try the modified code in the last entry posted by Sputnik.

Posted: Sun Oct 16, 2005 6:49 pm
by Dr. Dri
thank you, it seems to be exactly what i'm looking for
i didn't know it was called a "dialog" (i'm french)

i searched for requester and box (like in message box) but didn't find anything.

Dri :)

Posted: Sun Oct 16, 2005 7:08 pm
by Nico
It is easier to simulate a dialog box.

You want that that also works on Linux?

Posted: Sun Oct 16, 2005 7:22 pm
by Straker
I searched for "modal" - which is the behavior you are looking for. A modal dialog halts the application until the user provides an input choice.

I also read in another thread that there are more examples in the CodeArchiv at purearea.net.

Good Luck

Posted: Mon Oct 17, 2005 9:49 am
by Dr. Dri
no need for linux (i use other win32 functions...)
i won't forget the words "dialog" and "modal" ^^
here is the result :
viewtopic.php?t=17244

Dri :)