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.

How to define NULL

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-21-2010, 10:42 AM
Basic4ppc Veteran
 
Join Date: Apr 2007
Location: Netherlands
Posts: 222
Default How to define NULL

Hi,

In the dzHW library is said that a parameter can be null. How to define this, e.g.
wh=dzHw1.GetWindowHandle(?,"TestForm")
dzHw1.ShowWindow (wh,0)

I try to use this function as, under unknown circumstances, ShowTodayScreen does not work in a program of me. In others it does.

Harry
Reply With Quote
  #2 (permalink)  
Old 04-21-2010, 11:45 AM
sitajony's Avatar
Basic4ppc Veteran
 
Join Date: Mar 2010
Location: France
Posts: 416
Awards Showcase
Beta Tester 
Total Awards: 1
Default

I think you can write this:
Code:
hwnd=dzHw1.GetActiveHandle
dzHw1.ShowWindow(hwnd,
0)
On Device you can use Hardware library, If the .ShowTodayScreen() doesn't work you can use the KeyPress Library...
Try:
Code:
hw.KeyPress("s") <font color="Lime">'Normaly this emulate an Call Ended/Minimize all...</font>
If your Form is in fullscreen I noticed that it's hard to minimize it...
I hope it's usefull

Edit: An other soluce:

You can also use the Door library:

Code:
door.New1
door.FromControl(
"TestForm")
door.SetPropriete(
"WindowState",0)
But i think this work only on desktop but not sure...

Last edited by sitajony : 04-21-2010 at 11:55 AM.
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
How do I define FileOpen(C1 the Connection Name Globally apstrojny2 Questions (Windows Mobile) 8 05-16-2009 01:25 AM
Bluetooth serial com program lets you define 10 custom buttons and values. pdablue Share Your Creations 0 04-01-2009 03:13 PM
Null modem emulator von WM5 schimanski Questions (Windows Mobile) 5 04-03-2008 12:14 PM
virtual null modem cable schimanski Chit Chat 0 04-01-2008 04:41 PM
Trap the null value? conf Questions (Windows Mobile) 3 07-07-2007 12:49 PM


All times are GMT. The time now is 10:48 AM.


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