Results 1 to 3 of 3

Thread: How do I handle events in TBGL?(such as WM_COPYDATA)

  1. #1

    How do I handle events in TBGL?(such as WM_COPYDATA)

    as the title,how to do? I don't need to handle the drag and drop file event.

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

    if you need such a functionality, I would recommend to use TBGL canvas instead of TBGL window.
    Then you can handle various dialog events in the callback.

    The template for TBGL canvas can be found in ThinAir:
    • File/New
    • Click TBGL template folder
    • Click TBGL_InDialog_* template which will suite you most


    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

  3. #3
    Quote Originally Posted by Petr Schreiber View Post
    Hi Leonhardt,

    if you need such a functionality, I would recommend to use TBGL canvas instead of TBGL window.
    Then you can handle various dialog events in the callback.

    The template for TBGL canvas can be found in ThinAir:
    • File/New
    • Click TBGL template folder
    • Click TBGL_InDialog_* template which will suite you most


    Petr
    Thank you very much!

Similar Threads

  1. Mouse Events in Console
    By MouseTrap in forum Console
    Replies: 14
    Last Post: 05-07-2013, 17:21
  2. Interprocess communication (WM_COPYDATA)
    By Petr Schreiber in forum Win API interface
    Replies: 1
    Last Post: 14-04-2008, 08:31
  3. module to handle 2d plus more
    By Michael Clease in forum Experimental modules or library interface
    Replies: 2
    Last Post: 13-01-2008, 10:56
  4. tbgl window to a given handle
    By kryton9 in forum TBGL General
    Replies: 2
    Last Post: 04-07-2007, 01:23

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
  •