BASIC

Author Topic: [Coming soon] GLBasic WinApi menu... Wow... :)  (Read 8681 times)

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1577
  • Particle Hawk
    • View Profile
    • Silver Volumetric Software
Re: [Coming soon] GLBasic WinApi menu... Wow... :)
« Reply #15 on: 2009-Aug-09 »
headers.rar is unpacked in E:\Program Files\GLBasic\Compiler

What else needs to be done?
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

http://silver.binhoster.com/

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1577
  • Particle Hawk
    • View Profile
    • Silver Volumetric Software
Re: [Coming soon] GLBasic WinApi menu... Wow... :)
« Reply #16 on: 2009-Aug-09 »
K i had to redownload the headers...first round didnt work for some reason.



Schranz0r, here is a help messgae popup box...the popupflag=32 is the help icon type.

If you roll the flag number and post it to the screen, you can see all the different types of popup menus.
The flags can make also the kind that says "ignore" "continue" etc with the red x icon blah blah..

Code: GLBasic [Select]
popupflag=32
IMPORT "C" int __stdcall MessageBoxA(int hwnd, const char* text, char* caption, int flags)
MessageBoxA(0, " This is another line.\n this is another line\n ", "Help",popupflag)
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

http://silver.binhoster.com/

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4954
  • O Rly?
    • View Profile
Re: [Coming soon] GLBasic WinApi menu... Wow... :)
« Reply #17 on: 2009-Aug-09 »
Yeah i know that :)
I <3 DGArray's :D

PC:
AMD RYzen 7 1700 @3.9Ghz, 16GB HyperX Fury 2600Mhz Ram, HIS 7970 GHz Edition @3GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1577
  • Particle Hawk
    • View Profile
    • Silver Volumetric Software
Re: [Coming soon] GLBasic WinApi menu... Wow... :)
« Reply #18 on: 2009-Aug-10 »
Hey i found a bug with this..

In a windowed mode program, the mousestate and systempointer are not aligned.

This is what i have to do to correct the difference:

Code: GLBasic [Select]
MOUSESTATE MX,MY,MB1,MB2
MY=MY+20

In fullscreen, there is no menu.
Also in fullscreen, the mouse is correct.

Any idea how to fix this?
« Last Edit: 2009-Aug-11 by Hemlos »
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

http://silver.binhoster.com/

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4954
  • O Rly?
    • View Profile
Re: [Coming soon] GLBasic WinApi menu... Wow... :)
« Reply #19 on: 2009-Aug-10 »
hmmm  :S
I <3 DGArray's :D

PC:
AMD RYzen 7 1700 @3.9Ghz, 16GB HyperX Fury 2600Mhz Ram, HIS 7970 GHz Edition @3GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1577
  • Particle Hawk
    • View Profile
    • Silver Volumetric Software
Re: [Coming soon] GLBasic WinApi menu... Wow... :)
« Reply #20 on: 2009-Aug-11 »
In fullscreen, no menu, but the mouse is aligned properly.
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

http://silver.binhoster.com/

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1577
  • Particle Hawk
    • View Profile
    • Silver Volumetric Software
Re: [Coming soon] GLBasic WinApi menu... Wow... :)
« Reply #21 on: 2009-Aug-11 »
Its not a big deal, ill just shift everything down.
Would be nice to use this in fullscreen mode though.
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)

http://silver.binhoster.com/

Offline Schranz0r

  • Premium User :)
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 4954
  • O Rly?
    • View Profile
Re: [Coming soon] GLBasic WinApi menu... Wow... :)
« Reply #22 on: 2009-Aug-11 »
dosent work on fullscreen!
Its a Window-Feature ;)
I <3 DGArray's :D

PC:
AMD RYzen 7 1700 @3.9Ghz, 16GB HyperX Fury 2600Mhz Ram, HIS 7970 GHz Edition @3GB, Windows 10 Pro 64Bit, MSi Tomahawk B350 Mainboard