` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Windows API: Hiding and unhiding the application
2004-03-12 -- Mario Rodrigues
 
Newsgroups: softvelocity.public.clarion6 > 1) How can I (not using templates) disable the task bar box for a program. > > 2) Create and Change the appearance of a task bar icon for when office mail > is received/read. To hide your application : ShowWindow(YourAppFrame{PROP:HANDLE},SW_HIDE) To unhide your application : ShowWindow(YourAppFrame{PROP:HANDLE},SW_SHOW) The declaration for the ShowWindow API ShowWindow(ULONG, SIGNED),BOOL,PASCAL,PROC and the parameters for it SW_HIDE EQUATE(0) SW_SHOWNORMAL EQUATE(1) SW_MAXIMIZE EQUATE(3) SW_SHOW EQUATE(5) SW_MINIMIZE EQUATE(6) SW_RESTORE EQUATE(9) To change displayed Icon : 0{PROP:Icon}='~yourIconName.ico' Note that the Icon must be in the project Thats All (2 line of code TOO) Mario RODRIGUES


Today is May 3, 2024, 2:57 pm
This article has been viewed 35105 times.
Google search has resulted in 22 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: