Results 1 to 9 of 9

Thread: Window display and menu

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Window display and menu

    Hi,


    In my program I wanted to allow the user/player to optionally be able to turn off the window thinbasic menubar. (see pic menuON)


    The problem I get is when the menu is removed I lose the right vertical scrollbar and the statusbar is not re-shown correctly. (see pic menuOFF)


    However, If i resize the window physically by even a pixel with the mouse then the display snaps back to display all controls correctly - and the problem is gone! (see pic menuOK)


    Is there a way or how do I send a message event to the window callback routine to do this automatically by firing some kind of resize event that will trigger the desired effect and avoid the situation in pic menuOFF ?


    Thanks.
    catventure.


    PS. Same thing happens if I were to invoke maximize window with;


    win_show hwnd, %SW_MAXIMIZE


    I lose right vertical scrollbar and statusbar not positioned properly UNTIL I use mouse on window restore button - everything now OK!
    Attached Images Attached Images
    http://tab.thinbasic.com - Home Of The ThinBasic Adventure Builder Project. (Interactive Fiction/Text Adventure Maker)

Similar Threads

  1. Grid Cell Display Problem
    By gungadout in forum thinBasic General
    Replies: 19
    Last Post: 26-06-2011, 18:48
  2. Forum Display Problems
    By danbaron in forum Shout Box Area
    Replies: 13
    Last Post: 24-02-2011, 07:58
  3. display 2 textures
    By Lionheart008 in forum TBGL module by Petr Schreiber
    Replies: 2
    Last Post: 29-07-2009, 19:31
  4. Flexible display
    By ErosOlmi in forum Technology
    Replies: 1
    Last Post: 02-11-2008, 21:53

Members who have read this thread: 1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •