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.

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: 15,726
Awards Showcase
Basic4ppc Founder 
Total Awards: 1
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: Ioannina, Greece
Posts: 356
Awards Showcase
Beta Tester Forum Contributer 
Total Awards: 2
Default

A bit complex.

You should use latest version of dzHW.dll (http://www.basic4ppc.com/forum/additional-libraries/384-useful-library.html)

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 Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Show contact details ? taximania Questions (Windows Mobile) 3 07-05-2008 07:19 PM
Fullscreen,MinimizeBox,ShowToDayScreen Bobbes German Forum 1 04-03-2008 12:54 PM
TabControl created dynamically won't show willisgt Questions (Windows Mobile) 8 03-14-2008 09:39 PM
keyboard show bdiscount Questions (Windows Mobile) 1 09-24-2007 02:21 PM
Textbox show PPC Keyboard IansResearch Questions (Windows Mobile) 2 08-13-2007 09:18 AM


All times are GMT. The time now is 05:39 AM.


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