Announcement

Collapse
No announcement yet.

Very Nice!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Very Nice!

    Just to let you know about this cool feature

    Dialog New...
    Dialog Show modelles...

    Do something else.......

    Dialog Show modal...

    Instantly!!

  • #2
    Pardon? Can you explain your discovery in more detail? Thanks!

    -------------
    Lance
    PowerBASIC Support
    mailto:[email protected][email protected]</A>
    Lance
    mailto:[email protected]

    Comment


    • #3
      Something what's (afaik) not possible in VB for example;

      Having a dialog (DDT) box already shown modeless (building printpreview doc) and after building show it as modal without hiding it first.

      The reason i mention it is of course it's handy but also to have replies from PB if this is a proper way (2 message loops??)

      For me, this is really handy..

      Comment


      • #4
        E.B. --

        > The reason i mention it is of course it's handy
        > but also to have replies from PB if this is
        > a proper way (2 message loops??)

        DIALOG SHOW MODELESS does not create a message loop. If you use MODELESS you have to "pump" messages "manually" every so often by using DIALOG DOEVENTS.

        Your technique is perfectly valid when you're using the Windows API to create a dialog. I do it all the time... Create a basic window with a "loading" message, display it, use UpdateWindow, load some data, display it, etc. etc., then finally start the main message loop. But somebody from PowerBASIC will have to tell us whether or not it will interfere with the inner workings of DDT.

        -- Eric



        -------------
        Perfect Sync: Perfect Sync Development Tools
        Email: mailto:[email protected][email protected]</A>

        "Not my circus, not my monkeys."

        Comment

        Working...
        X