how to make a requester ?

Windows specific forum
Dr. Dri
Enthusiast
Enthusiast
Posts: 243
Joined: Sat Aug 23, 2003 6:45 pm

how to make a requester ?

Post 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
Straker
Enthusiast
Enthusiast
Posts: 701
Joined: Wed Apr 13, 2005 10:45 pm
Location: Idaho, USA

Post by Straker »

Maybe this thread will help:

viewtopic.php?t=6060

Try the modified code in the last entry posted by Sputnik.
Dr. Dri
Enthusiast
Enthusiast
Posts: 243
Joined: Sat Aug 23, 2003 6:45 pm

Post 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 :)
Nico
Enthusiast
Enthusiast
Posts: 274
Joined: Sun Jan 11, 2004 11:34 am
Location: France

Post by Nico »

It is easier to simulate a dialog box.

You want that that also works on Linux?
Straker
Enthusiast
Enthusiast
Posts: 701
Joined: Wed Apr 13, 2005 10:45 pm
Location: Idaho, USA

Post 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
Dr. Dri
Enthusiast
Enthusiast
Posts: 243
Joined: Sat Aug 23, 2003 6:45 pm

Post 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 :)
Post Reply