Skip to main content
guest
Join | Help | Sign In
Liberty BASIC Community Wiki Home
guest| Join | Help | Sign In
Liberty BASIC Community Wiki
  • Wiki Home
  • Recent Changes
  • Pages and Files
  • Members
  • Home
    • Liberty BASIC FAQ
    • Contests
    • Tutorials
    • Science
    • Shared Code
    • Tips
    • DLLs
    • PublicDomainSprites
    • Member Pages
    • Links
    • Sandbox

IsIconic

Edit 0 1 …
  • 0 Tags
    • No tags
  • Notify
  • RSS
  • Backlinks
  • Source
  • Print
  • Export (PDF)
Older Version Newer Version

Alyce Alyce Jan 23, 2006

 open "test" for window as #1 
#1 "trapclose [quit]"
notice "Watch the mainwin, then minimize the window."
timer 1000, [check]
wait
[quit] close #1:end

[check]
handle = hwnd(#1)
calldll #user32, "IsIconic",_
handle as ulong,_ 'handle of window
result as boolean 'returns true if window is minimized
if result then
print "Is minimized."
else
print "Is not minimized."
end if
wait

- Alyce Alyce Jan 23, 2006
Help · About · Pricing · Privacy · Terms · Support · Upgrade
Contributions to https://basic.wikispaces.com/ are licensed under a Creative Commons Attribution Share-Alike 2.5 License. Creative Commons Attribution Share-Alike 2.5 License
Portions not contributed by visitors are Copyright 2018 Tangient LLC
TES: The largest network of teachers in the world
Turn off "Getting Started"
  1. Home
  2. ...
Loading...