Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


Minimize Application


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-17-2007, 11:33 PM
akr akr is offline
Newbie
 
Join Date: Oct 2007
Posts: 4
Default Minimize Application

Hello,

is there a way to minimize an application (form) using a button control?
Something like:

Sub Button3_Click
Form1.minimize 'or form1.hide
End Sub

I'm writing a program used in a car with only very few but large controls.
Reply With Quote
  #2 (permalink)  
Old 10-18-2007, 06:12 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,816
Default

You can use Hardware.ShowTodayScreen to minimize your application.
Code:
Sub Button3_Click
 Hardware.ShowTodayScreen
End Sub
Reply With Quote
  #3 (permalink)  
Old 10-18-2007, 09:51 AM
akr akr is offline
Newbie
 
Join Date: Oct 2007
Posts: 4
Default

Thanks for the fast reply.
After installing the current version of hardware.dll it works.
Reply With Quote
  #4 (permalink)  
Old 10-18-2007, 01:17 PM
alfcen's Avatar
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu
Posts: 424
Default

Hello akr
You may as well wish to look into dzt's NotifyIcon library which,
unlike Hardware.ShowTodayScreen, adds an icon to the tray bar.

NotifyIcon Libary
Cheers
Reply With Quote
  #5 (permalink)  
Old 10-18-2007, 07:51 PM
akr akr is offline
Newbie
 
Join Date: Oct 2007
Posts: 4
Default

Thank you alfcen,

I didn't find the time for testing, but at the first glance that looks pretty good.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
HIDE TITLE BAR ? hide title, minimize , max and Close button (FOR DESSKTOP EXE) pegamaster Questions & Help Needed 0 07-04-2008 02:59 PM
Application exits without cause Hennell Questions & Help Needed 3 03-15-2008 08:31 AM
Application Name kawawong Questions & Help Needed 1 02-12-2008 09:38 AM
My first application Erel Tutorials 8 10-16-2007 01:00 PM
DB Application scott93727 Share Your Creations 0 05-02-2007 05:24 AM


All times are GMT. The time now is 02:21 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0