Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Questions (Windows Mobile)
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Questions (Windows Mobile) Post any question regarding Basic4ppc.

Minimize Application

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-18-2007, 12:33 AM
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, 07:12 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 13,162
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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, 10: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, 02:17 PM
alfcen's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: Okinawa, Ryukyu Islands
Posts: 768
Send a message via Skype™ to alfcen
Awards Showcase
Beta Tester 
Total Awards: 1
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.

http://www.basic4ppc.com/forum/additional-libraries/524-notifyicon-libary.html
Cheers
Reply With Quote
  #5 (permalink)  
Old 10-18-2007, 08: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
  #6 (permalink)  
Old 08-15-2009, 11:05 PM
ghale's Avatar
Basic4ppc Veteran
 
Join Date: Dec 2008
Location: Earth, Europe, Italy, Puglia, Lecce
Posts: 219
Default

Quote:
Originally Posted by alfcen View Post
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
But the NotifyIcon library, works or not with 6.80 and optimized compiling???

Update:
I've find the ControlsExDevice library interesting.
In practice, I need this:
I want to minimize a form showing an icon in the Notification Area on PPC.
When I click on the icon, the application form go on the screen.

I've tried NotifyIcon, but with 6.80 and optimized compile, it doesn't work.
So, I've tried ControlsExDevice Notification method, but the icon is showed in the title, not on Notification Area.

What I have to do?

Someone can help me, please?
__________________
My Creatures of the Night!

Last edited by ghale : 08-15-2009 at 11:30 PM. Reason: Added another question
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 Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
My first application Erel Tutorials 16 04-18-2010 09:09 PM
minimize or close? Byak@ Questions (Windows Mobile) 3 09-28-2008 05:18 PM
HIDE TITLE BAR ? hide title, minimize , max and Close button (FOR DESSKTOP EXE) pegamaster Questions (Windows Mobile) 0 07-04-2008 03:59 PM
Application Name kawawong Questions (Windows Mobile) 1 02-12-2008 10:38 AM
DB Application scott93727 Share Your Creations 0 05-02-2007 06:24 AM


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


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0