Home » Developer & Programmer » Forms » How can I get window handle? (XP SP3, Oracle Forms 10g)
How can I get window handle? [message #442556] Tue, 09 February 2010 00:38 Go to next message
andyone
Messages: 2
Registered: February 2010
Junior Member
Hi,

The following code works fine in the form 6i, but in the same form 10g I get map_handle='0' and win_handle='0' instead of certain value as in 6i.

map_handle:=get_item_property('MAP.MAP_ITEM',WINDOW_HANDLE);
win_handle:=get_window_property('CG$WINDOW_1',WINDOW_HANDLE);

MAP.MAP_ITEM has Chart Item type.

Thanks in advance,
Greetings from Russia,
Andy
Re: How can I get window handle? [message #442561 is a reply to message #442556] Tue, 09 February 2010 02:05 Go to previous messageGo to next message
tamzidulamin
Messages: 132
Registered: October 2009
Location: Dhaka
Senior Member
What is your OS?

Quote:
WINDOW_HANDLE Returns the a unique internal VARCHAR2 constant that is used to refer to objects. Returns the number 0 if the platform is not Microsoft Windows.


Tamzidul Amin.
Re: How can I get window handle? [message #442571 is a reply to message #442556] Tue, 09 February 2010 02:39 Go to previous messageGo to next message
andyone
Messages: 2
Registered: February 2010
Junior Member
My client's OS is Windows XP, applications server works under Solaris.
Re: How can I get window handle? [message #446697 is a reply to message #442571] Wed, 10 March 2010 00:47 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Sorry that I have been so long in replying. Have you solved your problem?

What data type do you have for 'win_handle'?

David
Previous Topic: checkbox checked
Next Topic: How Can We Get Hardware Information In Oracle forms 6i
Goto Forum:
  


Current Time: Fri Sep 20 02:22:45 CDT 2024