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.


after used showtodayscreen how to show again


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-24-2007, 03:13 PM
Junior Member
 
Join Date: Jun 2007
Posts: 16
Default after used showtodayscreen how to show again

After used showtodayscreen founction , I used NotifyIcon.dll(A good dll)added an icon to the tray , but the questions is how can I show the form again,form1.show and form1.refresh doesn't work.

use msgbox("") can show the form again,but it is not a good idea.
can somebody help me?

(form1.text="",so can not be seen in memorymanger)

Last edited by blackiice : 10-24-2007 at 03:20 PM.
Reply With Quote
  #2 (permalink)  
Old 10-24-2007, 03:28 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 2,778
Default

Setting form1.Show should show it again.
Reply With Quote
  #3 (permalink)  
Old 10-24-2007, 06:10 PM
dzt's Avatar
dzt dzt is offline
Basic4ppc Veteran
 
Join Date: May 2007
Location: Greece
Posts: 353
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

A bit complex.

You should use latest version of dzHW.dll (Useful Library)

1. Add a global variable
Dim hWnd
2. Somewhere in your code before hiding the form add
hWnd = dzhw.GetActiveWindowHandle
3. Add in your icon click event sub
dzHw.BringWindowToFrontC(dzHW.GetClassName(hWnd, 100))

Your form should be visible again
__________________
Dimitris Zacharakis
http://www.terracom.gr
Reply With Quote
  #4 (permalink)  
Old 10-25-2007, 03:26 AM
Junior Member
 
Join Date: Jun 2007
Posts: 16
Default

Setting form1.Show works ok.
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
Show contact details ? taximania Questions & Help Needed 3 07-05-2008 07:19 PM
Fullscreen,MinimizeBox,ShowToDayScreen Bobbes German Forum 1 04-03-2008 12:54 PM
keyboard show bdiscount Questions & Help Needed 1 09-24-2007 02:21 PM
Textbox show PPC Keyboard IansResearch Questions & Help Needed 2 08-13-2007 09:18 AM


All times are GMT. The time now is 11:43 PM.


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