Results 1 to 2 of 2

Thread: How to get TBGL-Window on top (zOrder) ?

  1. #1
    thinBasic MVPs
    Join Date
    Oct 2012
    Location
    Germany
    Age
    54
    Posts
    1,529
    Rep Power
    170

    How to get TBGL-Window on top (zOrder) ?

    How can i get the TBGL-window to be topmost on desktop?

    If no *.ini-file exists i call OS_Shell to run another executeable to request settings as resolution or fullscreen, write the user-settings to an *.ini-file and then i open the window as the user wants it. In this case the TBGL_Window opens behind some other windows on my desktop (as thinAir, Explorer or whatever).
    TBGL_ShowWindow has no effect to bring the window on top. MSDN-help says it would also work to use SetWindowPos but TBGL_SetWindowed does not bring it to top neither

    Is it possible from TBGL or do i need to declare an api-call/ have to use UI for just Win_BringWindowToTop?

    Can Eros be convinced to seperate Win-Api-calls from UI?
    So Uses "UI" might automatic #Include Once "WinApi-module" but have it available without the whole UI-stuff?
    Last edited by ReneMiner; 31-08-2015 at 17:37.
    I think there are missing some Forum-sections as beta-testing and support

  2. #2
    Super Moderator Petr Schreiber's Avatar
    Join Date
    Aug 2005
    Location
    Brno - Czech Republic
    Posts
    7,128
    Rep Power
    732
    Hi Rene,

    I would like to keep TBGL without platform specific styling - but as it is classic low-level (who would say it 10 years ago?) Win32 window, any Win32 magic should do the trick!


    Petr
    Learn 3D graphics with ThinBASIC, learn TBGL!
    Windows 10 64bit - Intel Core i5-3350P @ 3.1GHz - 16 GB RAM - NVIDIA GeForce GTX 1050 Ti 4GB

Similar Threads

  1. Canvas-Window- how to bind TBGL?
    By ReneMiner in forum UI (User Interface)
    Replies: 7
    Last Post: 23-02-2015, 13:35
  2. UI & TBGL -- active window
    By RobbeK in forum TBGL General
    Replies: 9
    Last Post: 16-11-2013, 16:37
  3. TBGL window resizing demo
    By efly2020 in forum TBGL General
    Replies: 1
    Last Post: 03-04-2009, 08:13
  4. tbgl window to a given handle
    By kryton9 in forum TBGL General
    Replies: 2
    Last Post: 04-07-2007, 01:23
  5. TBGL window
    By Reinking in forum TBGL General
    Replies: 15
    Last Post: 16-01-2006, 19:02

Members who have read this thread: 0

There are no members to list at the moment.

Posting Permissions

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