Use a window handler in a webutil_c_api.invoke
Hi
I need to get the window handler of the forms, but I always get 0 from get_window_property( 'my_win',WINDOW_HANDLE )
and wen I ran the function:
webutil_c_api.invoke(ps_dll,'TWAIN_AcquireToFilename',func_param_acq);
the function send me a messagebox of "invalid window handler", then the twain execute well the function and when it finish, the web browser window is closed.
Can somebody tell me what is wrong ?
Is not possible to use a C function in a dll with webutil_c_api, that needs a window handler as a parameter
Thanx in advance
Hi
I need to get the window handler of the forms, but I always get 0 from get_window_property( 'my_win',WINDOW_HANDLE )
and wen I ran the function:
webutil_c_api.invoke(ps_dll,'TWAIN_AcquireToFilename',func_param_acq);
the function send me a messagebox of "invalid window handler", then the twain execute well the function and when it finish, the web browser window is closed.
Can somebody tell me what is wrong ?
Is not possible to use a C function in a dll with webutil_c_api, that needs a window handler as a parameter
Thanx in advance
Similar Messages
-
I have a backgroundworker1 dowork event and inside:
private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
BackgroundWorker bgw = (BackgroundWorker)sender;
if (bgw.CancellationPending == true)
return;
else
this.BeginInvoke(new MethodInvoker(delegate
timer1.Stop();
Button1Code();
timer1.Start();
trackBar2.Enabled = false;
trackBar1.Enabled = false;
while (true)
bitmaps = ImagesComparison.get_images_with_clouds(b1);
for (int i = 0; i < bitmaps.Length; i++)
ConvertTo1or8Bit.BitmapToGIF(bitmaps[i], @"c:\convertedgifs\" + i.ToString("D6") + ".gif");
break;
The exception is on the BeginInvoke part.
In the last few days i was running the program many times and i didn't have this exception even once.
And now every times i'm running it i'm getting the exception.
System.InvalidOperationException was unhandled by user code
HResult=-2146233079
Message=Invoke or BeginInvoke cannot be called on a control until the window handle has been created.
Source=System.Windows.Forms
StackTrace:
at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
at System.Windows.Forms.Control.BeginInvoke(Delegate method, Object[] args)
at System.Windows.Forms.Control.BeginInvoke(Delegate method)
at mws.ScanningClouds.backgroundWorker1_DoWork(Object sender, DoWorkEventArgs e) in d:\C-Sharp\Download File\Downloading-File-Project-Version-012\Downloading File\ScanningClouds.cs:line 715
at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
InnerException:
Line 715 is: this.BeginInvoke(new MethodInvoker(delegateWhere are you starting the background worker from? Possibly the constructor of the form?
It would be greatly appreciated if you would mark any helpful entries as helpful and if the entry answers your question, please mark it with the Answer link. -
I need to get the Excel.application object from a window handle using AccessibleObjectFromWindow. I can't seem to make the code work. First, I successfully search for the XLMAIN windows. Then, when I get a handle, I execute the AccessibleObjectFromWindow
function. It seems to return a value of -2147467262 in all cases. Therefore, I believe that it is returning an error value. I can't figure out how to determine the meaning of this value.
If it is an error value, I believe that one or more arguments are in error. My best guess at present is that the GUID argument is incorrect. I have tried two GUID values: {00020400-0000-0000-C000-000000000046} and {90140000-0016-0409-0000-0000000FF1CE}.
I have seen both used in conjunction with OBJID_NATIVEOM. Neither one seems to work. I really would prefer not to use the second one as it has an Excel major and minor version number. I would hate to have to change this code, if a new minor version appeared.
The attached code has been commented to show which parts have been shown to work and which not. I'm at my wits end and really need help.
Thanks
'This module is located in Access 2010, but this is an Excel question.
Option Compare Database
Option Explicit
' Module-Level Declarations
'The GetDesktopWindow function and FindWindowEx function work just fine.
Public Declare Function GetDesktopWindow Lib "user32" () As Long
Public Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" _
(ByVal hWnd1 As Long, _
ByVal hWnd2 As Long, _
ByVal lpsz1 As String, _
ByVal lpsz2 As String) _
As Long
'I'm not getting the expected output from this function (see below)
Private Declare Function AccessibleObjectFromWindow& Lib "oleacc.dll" _
(ByVal hwnd&, _
ByVal dwId&, _
riid As GUID, _
xlwb As Object)
Type GUID
lData1 As Long
iData2 As Integer
iData3 As Integer
aBData4(0 To 7) As Byte
End Type
Function ExcelInstances() As Long
' Procedure-Level Declarations
' Value of OBJID_NATIVEOM verified by checking list of Windows API constants _
on this site: http://www.lw-tech.com/q1/base.htm
Const OBJID_NATIVEOM = &HFFFFFFF0
Dim hWndDesk As Long 'Desktop window
Dim hWndXL As Long 'Child window
Dim objExcelApp As Object 'Final result wanted: Excel application object
'Following variable (xlapp) to be set by AccessibleObjectFromWindow function
Dim xlapp As Object
Dim IDispatch As GUID 'GUID used in call to AccessibleObjectFrom Window function
'Set up GUID to be used for all instances of Excel that are found
Dim tmp1 As Variant 'Return value from AccessibleObjectFromWindow
' Executable Statements
SetIDispatch IDispatch
IDispatch = IDispatch
'Get a handle to the desktop
hWndDesk = GetDesktopWindow 'This seems to work
Do
'Get the next Excel window
'The following statement seems to work. We are finding and counting _
correctly all the instances of Excel. hWndXL is non-zero for each _
instance of Excel
hWndXL = FindWindowEx(GetDesktopWindow, hWndXL, "XLMAIN", vbNullString)
'If we got one, increment the count
If hWndXL > 0 Then
'This works. We correctly count all _
instances of Excel
ExcelInstances = ExcelInstances + 1
'Here is the problem. The following statement executes and returns a value of _
-2147467262. xlapp, which is passed by reference to AccessibleObjectFromWindow, _
is set to nothing. It should be set to the object for Excel.application. _
I believe that this value is not an object. I tried to reference tmp1. in the _
immediate window. There was no Intellisense.
'I think that the function in returning an error value, but I can't figure _
out what it is. I believe that AccessibleObjectFromWindow returns error _
values, but I don't know where to find their values so I can interpret the _
function's results.
'As best I can tell, the hWndXL parameter is correct. It is the handle for _
an instance of Excel. OBJID_NATIVEOM is set correctly (see constant declaration _
above). xlapp is passed by reference as a non-initialized object variable, which _
will be set by AccessiblObjectFromWindow. IDispatch may be the problem. It is set _
as shown below in the procedure SetIDispatch(ByRef ID As GUID). This procedure _
appears to work. I can see that IDispatch is set as I intended and correctly _
passed to AccessibleObjectFromWindow.
tmp1 = AccessibleObjectFromWindow(hWndXL, OBJID_NATIVEOM, IDispatch, xlapp)
'Need to write code to test tmp1 for error. If none, then set objExcelApp = _
object. Also, I exect xlapp to be set to Excel.application
End If
'Loop until we've found them all
Loop Until hWndXL = 0
End Function
Private Sub SetIDispatch(ByRef ID As GUID)
'Defines the IDispatch variable. The interface _
ID is {90140000-0016-0409-0000-0000000FF1CE}.
'NOT USING {00020400-0000-0000-C000-000000000046}, _
which could be the problem
'9 is release version - first version shipped (initial release)
'0 is release type - retail/oem
'14 is major version
'0000 is minor version
'0016 is product ID - MS Excel 2010
'0409 is language identifier - English
'0 is x86 or x64 - this is x86
'000 reserved
'0 is debug/ship
'000000FF1CE is office family ID
With ID
.lData1 = &H90140000
.iData2 = &H16
.iData3 = &H409
.aBData4(0) = &H0
.aBData4(1) = &H0
.aBData4(2) = &H0
.aBData4(3) = &H0
.aBData4(4) = &H0
.aBData4(5) = &HF
.aBData4(6) = &HF1
.aBData4(7) = &HCE
End With
End Sub
DaveInCalabasasI don't think you can return a reference to Excel's main window like that as you are attempting to do.
Ref:
http://msdn.microsoft.com/en-us/library/windows/desktop/dd317978(v=vs.85).aspx
It's relatively straightforward to return any workbook's window in any given instance, and in turn it's parent Excel app. Try the following and adapt as required (and include error handling) -
Option Explicit
Private Declare Function FindWindowEx Lib "User32" Alias "FindWindowExA" _
(ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, _
ByVal lpsz2 As String) As Long
Private Declare Function IIDFromString Lib "ole32" _
(ByVal lpsz As Long, ByRef lpiid As GUID) As Long
Private Declare Function AccessibleObjectFromWindow Lib "oleacc" _
(ByVal hWnd As Long, ByVal dwId As Long, ByRef riid As GUID, _
ByRef ppvObject As Object) As Long
Private Type GUID
Data1 As Long
Data2 As Integer
Data3 As Integer
Data4(7) As Byte
End Type
Private Const S_OK As Long = &H0
Private Const IID_IDispatch As String = "{00020400-0000-0000-C000-000000000046}"
Private Const OBJID_NATIVEOM As Long = &HFFFFFFF0
Sub test()
Dim i As Long
Dim hWinXL As Long
Dim xlApp As Object ' Excel.Application
Dim wb As Object ' Excel.Workbook
hWinXL = FindWindowEx(0&, 0&, "XLMAIN", vbNullString)
While hWinXL > 0
i = i + 1
Debug.Print "Instance_" & i; hWinXL
If GetXLapp(hWinXL, xlApp) Then
For Each wb In xlApp.Workbooks
Debug.Print , wb.Name
Next
End If
hWinXL = FindWindowEx(0, hWinXL, "XLMAIN", vbNullString)
Wend
End Sub
'Function GetXLapp(hWinXL As Long, xlApp As Excel.Application) As Boolean
Function GetXLapp(hWinXL As Long, xlApp As Object) As Boolean
Dim hWinDesk As Long, hWin7 As Long
Dim obj As Object
Dim iid As GUID
Call IIDFromString(StrPtr(IID_IDispatch), iid)
hWinDesk = FindWindowEx(hWinXL, 0&, "XLDESK", vbNullString)
hWin7 = FindWindowEx(hWinDesk, 0&, "EXCEL7", vbNullString)
If AccessibleObjectFromWindow(hWin7, OBJID_NATIVEOM, iid, obj) = S_OK Then
Set xlApp = obj.Application
GetXLapp = True
End If
End Function
Note as written if an instance does not have any loaded workbooks a reference will not be returned (though a workbook can be added using DDE, but convoluted!)
FWIW there are two other very different approaches to grab all running Excel instances though something along the lines of the above is simplest.
Peter Thornton -
HELP!!! ... need to get Window Handle using PDA module
I am trying to find a way to get the current window handle using the PDA module. I need this handle to call other function via Win dll's. Has anyone done this before? Any help would be greatly appreciated (using windows mobile 6.1 and Labview PDA 8.5) Thanks
GreycatThanks Mike ...
I understand that this function does exist, but somehow I am not writing my wrapper properly or calling the function properly because everytime I build my labview app I get a "GetForegroundWindow is a missing VI or C file." - I cannot for the life of me figure this out ... what I was really asking is if anyone has succeeded calling this function and getting the Window Handle. What I really want to do is run my Labview program on the PDA in full screen mode with no title bar and no SIP button visible or accessible, but to my knowledge, that will take a function call to the aygshell.dll (namely the SHFullScreen function) and that function requires a window handle to work properly ... any more help would be appreciated ... Thanks again
Greycat -
I am trying to read a text box from a programme running at the same time as my Labview application using calls to the Windows
User32.dll. I believe I need to find the window handle for the 'form' containing this text string and use this together with
various other defined input variables to access the sting.
I have no experience of using this 'Call Library Function Node', but have an understanding of the 'C' programming language. Does anyone have
example Labview code showing how this might be done.
ThanksIf you're trying to access information that's being displayed in the window of another application and that application has no ActiveX interface, then yes, Windows calls can be used. There's a very good example on calling DLLs that ship with LabVIEW. Open the Example Finder (Help->Find Examples) and switch to the Search tab. Enter "Call" in the search box and open the VI "Call DLL". Run the VI, select any of the examples, and click the "Open Example VI..." button. That shows you how to call a DLL.
Now, given that you have no experience in calling DLLs, have only an "understanding" of C (which to me means you have never written something like a DLL), and don't seem to know that much about what Windows functions you may need, you're going to find this route pretty difficult, especially since you have to deal with Windows API calls, which are not always that easy to do from LabVIEW.
Let me propose an alternate solution. Go over to http://www.autoitscript.com/autoit3/ and download AutoIt. This is an automation tool that allows you to automate just about anything you want. It has an ActiveX interface that you can call from LabVIEW. I've attached an example VI that shows you how to use it to get the value of a text box from one of the tabs in the computer "System Properties" control panel applet.
Attachments:
AutoIt Example (v7).vi 25 KB -
Unable to get Window Handle for the 'AxCrystalActivXViewer' control.
Hi,
I have Operating System : Windows 7 and Application developed in VS 2005 and I am using Crystal Report XI licenced version.
But when I am trying to use TTX(Field Defination) based reports it gives me "Unable to get Window Handle for the 'AxCrystalActivXViewer' control. Windowless ActivX Controls are not supported."
Please provide me solution for this ASAP as I am stucked on this from long lomg time.
-Regards
SwapnilAppears you are installing an upgrade version.
Use these links:
http://downloads.businessobjects.com/akdlm/crystalreports/crxir2_sp4_full_bld_0-20008684.exe
http://downloads.businessobjects.com/akdlm/crystalreports/CRYSTALREPORTS06_0-20008684.EXE -
Windows handles left open after opening and closing registry key
When I open a registry key with 'Create Registry Key.vi' or 'Open Registry Key.vi' and thereafter close it with 'Close Registry Key.vi', there are 2 Windows handles left open. As my program polls the registry for changes repeatedly, my system crashes because after a certain time of use, no handles are available anymore.
I'm using Windows XP and Labview 8.6.
The VI in the attachment illustrates the problem (reading and writing of values are left out as these have no influence on the problem).
How can I read and write the registry, without leaving open handles?
Ruud
Attachments:
Registry-handles.vi 12 KBDear Ruud,
thank you so much for your post on our webforum. I noticed that this is a known issue for Labview 8.6, a while ago it was reported with a Corrective Action Request (CAR# 132471). The issue should be resolved with Labview 2009. I wasn't able to reproduce the issue wit Labview 2010, the number of handles stayed arround 28000,
best regards,
Martijn S
Applications Engineer
NI Netherlands
Attachments:
handles.JPG 104 KB -
Error creating window handle and out of memory
Hello everyone !
I am having a .Net Windows application (VB.Net) that creates a lot of reports (the same report document for different clients and dates) for exporting them to PDF.
While the first 75 reports are performed well the 76th report causes an error while creating the window handle and I get an out of memory error as well.
Searching this forum and the internet I tried a lot of things to get this problem solved:
- closing, disposing any report as well as setting it to nothing after exporting it to disk (also doing this for used dataset and datatable)
- doing a single report operation in an own class that is set to nothing immediately after use
- using garbage collector (methods: "Collect" and "WaitForPendingFinalizers")
- defining the report, used dataset and datable within "using .. end using" blocks
- take a single report object for all exports (implemented as singleton)
- using a background thread to handle report and operation on it
- changing registry entry "PrintJobLimit" to an higher value as well as to -1
But none of my tries helped me so far, it's always the 76th report that collapses.
Interesting thing: Exporting as PDF is not needed for causing the error (switched this off for all reports to test any difference).
My system:
- Visual Studio 2008 and .Net 3.5 Service Pack 1
- Crystal Reports Basic for Visual Studio 2008 Service Pack 1
Any help is appreciated.
Thank You very much,
M.Deister
Edited by: M.Deister on Sep 20, 2011 2:17 PMHello,
Saving the report as RPT doesn't save the data which is why it's failing to log on, you have to export it to RPT format, then use that in your test.
Also, I assume you are using the Report Engine. Try using InProc RAS to load and run the report.
Just a few lines of code change is all it needs.
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
using CrystalDecisions.ReportAppServer.ClientDoc;
using CrystalDecisions.ReportAppServer.Controllers;
using CrystalDecisions.ReportAppServer.ReportDefModel;
using CrystalDecisions.ReportAppServer.CommonControls;
using CrystalDecisions.ReportAppServer.CommLayer;
using CrystalDecisions.ReportAppServer.CommonObjectModel;
using CrystalDecisions.ReportAppServer.ObjectFactory;
using CrystalDecisions.ReportAppServer.DataSetConversion;
using CrystalDecisions.ReportAppServer.DataDefModel;
using CrystalDecisions.ReportSource;
using CrystalDecisions.Windows.Forms;
public class frmMain : System.Windows.Forms.Form
CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rptClientDoc;
private void btnOpenReport_Click(object sender, System.EventArgs e)
rptClientDoc = new CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocument(); // ReportClientDocumentClass();
openFileDialog.Filter = "Crystal Reports (*.rpt)|*.rpt|Crystal Reports Secure (*.rptr)|*.rptr";
//openFileDialog1.Filter = "txt files (*.txt)|*.txt|All files (*.*)|*.*";
openFileDialog.FilterIndex = 1;
//rptClientDoc.MinorVersion();
if (openFileDialog.ShowDialog() == DialogResult.OK)
object rptName = openFileDialog.FileName;
try
rpt.Load(rptName.ToString(), OpenReportMethod.OpenReportByTempCopy);
rptClientDoc = rpt.ReportClientDocument;
btnReportName.Text = rptName.ToString();
//btnReportName.Text = rptClientDoc.DisplayName.ToString();
catch (Exception ex)
MessageBox.Show("ERROR: " + ex.Message);
return;
rptClientDoc = rpt.ReportClientDocument;
Don -
Getting a Windows Handle from an Applet
how can i do it using jdk1.3? i looked thru the documentation and i didnt see anything. (hopefully i missed something)...thx...sonny
Which window handle your talking about? Browser window?
If so use the netscape.javascript pacakage
import netscape.javascript.*;
JP -
I have a very odd issue with the msctls_updow32 control. Depending on the type of window or window heirarchy, when I click the up arrow with the autobuddy being an edit control, the down arrow disappears off the down button. I have to move the mouse back
over the down button to get it to display. At first I figured it was something in my OnCtlColor code. But I found that the updown control is never passed to OnCtlColor. I get the window class of each input and it never shows up. Nor does it's window handle
get passed in. Turning off OnCtlColor code and going default doesn't help. What I have found that helps is to turn off WIndows 7 Aero desktop and turn on Windows Classic desktop (Windows 7 Basic has the issue too). I also found that applying a skin to my app
avoids the issue. Using spy I finally found what appears to be a connection to EM_SETSEL. When that message is sent and processed, the arrow has disappeared. I finally gave up and created my own subclass of a CEdit control (MFC) and called SubclassDlgItem.
Then I implemented WindowProc and trapped the EM_SETSEL. Then I had to call UpdateWindow on the spin control and finally get the rectangle of the edit (buddy) and spin control and use that in a call to the parent (dialog) window's RedrawWindow.
So there appears to be an issue with the updown control paired with an edit control that shows up depending on what desktop theme I am using. And to top it off, the window heirarchy seems to matter too (or perhaps the styles of the parent make a difference
as I found the issue doesn't show up on every window that may contain such a configuration). Consider this a heads up regarding the issue! One other note, changing to any of the "High contrast" Windows 7 desktops also avoids the issue. So Aero and
Basic seem to be the key.
R.D. HollandFails on Win 8.1 too. As with Win 7, changing the desktop display to one of the high contrast ones avoids the problem. My work-around is below. I have a video showing the problem. It also shows the display being changed to high contrast and how the problem
goes away. If only I could figure out how to use this web page to upload the zip file containing the video ...
LRESULT Myedit::WindowProc( UINT message, WPARAM wParam, LPARAM lParam )
LRESULT lr = CEdit::WindowProc( message, wParam, lParam );
if( message == EM_SETSEL )
CDialog* pParent = (CDialog*) GetParent();
if( pParent )
CSpinButtonCtrl* pSpin = (CSpinButtonCtrl*)pParent->GetDlgItem(IDC_SMALL_PARTS_SPIN);
if (pSpin)
CRect rectSpin;
pSpin->GetWindowRect( &rectSpin );
CRect rectEdit;
GetWindowRect( &rectEdit );
CRect both;
both.UnionRect( &rectSpin, &rectEdit );
pParent->ScreenToClient( &both );
//pParent->InvalidateRect( &both );
//pParent->Invalidate();
//pSpin->Invalidate();
pSpin->UpdateWindow();// skip this and the problem remains.
pParent->RedrawWindow(&both);// skip this and the problem remains.
return lr;
R.D. Holland -
Call library function in Labview:
=================================
Hi all,
I'm trying to access a DLL using Call library function in Labview.
1) I have problems in obtaining the window handle (hDC) of an object in Labview.
2) Also to get the pointer of an image buffer.
thanks
Code Warrior
Take life as it comes! you may never know what's gonna happen TommorrowBob Y. wrote:
I'm trying to do something similar right now and coming to the same problems. I am trying to get the image from a Nikon DXM1200 camera that is mounted on a microscope. It has its own commands and capture card and is not playing well with the imaq stuff. I am using their SDK in an effort to get the images into LabVIEW.
As I said, I am having the same types of problems. I managed to wrap everying into a dll and into a .net assembley, but I have been unable to figure out a way to get it into LabVIEW. I can call either of these things from LabVIEW to make an image capture. But, I have been unable to transfer that image into LabVIEW. I also have been unable to get enough windowing information to get the information into LabVIEW.
I am not sure what Code Warrior is doing, but here is why I have been tracking this thread with great interest.
Thanks for the thread,
Bob
You might want to look at http://www.hytekautomation.com/products.html. They have a Nikon interface for LabVIEW and since you already have the SDK, the issue mentioned on their site won't be a problem for you. It is for sure much more cost effective to pay them some money for that interface than trying to develop an interface yourself. The issues are quite involved and even if you knew quite some stuff about LabVIEW memory management and its internal C programming interface (and you can get quite some information from looking at the NI-IMAQ VIs too, eventhough they are anything but a nice example for good programming style), it is a work counting into weeks to get it done right.
Rolf Kalbermatter
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Which quick time should I be using for windows vista?
which quick time should I be using for windows vista? when I look at the plugins I'm using for Google Chrome Browser there are several listed for Quick Time, do I need them all?
when I look at the plugins I'm using for Google Chrome Browser there are several listed for Quick Time, do I need them all?
Yes. The seven different plugin dlls (npqtplugin.dll, ntqtplugin2.dll, etc) each handle various different file formats. -
How to use the windows key (super or hiper) as a keystroke modifier?
I can associate the windows key (KeyEvent.VK_WINDOWS) as a regular key on a KeyStroke without problem.
It can be alone or with a modifier, like CTRL+WIN
KeyStroke.getKeyStroke( KeyEvent.VK_WINDOWS, InputEvent.CTRL_DOWN_MASK )My doubt is: Is there a way to use it as a modifier?
In other words, is it possible to create the KeyStroke using the windows key with any other? e.g. "WIN+K"
Thanks,
Henrique AbreuThanks a lot for the quick answer.
Your KeyboardCommands class doesn't do it (but gives the idea), because it can only trigger an action on one key (like KeyStroke, that handles key+modifier).
I could make big changes on it to add the functionality of triggering an event on a combination of keys, which would solve my problem.
Although this solution is not so good because we totally give up of actions in Swing, which I mean stuff like actionMaps, InputMaps WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, etc.
If KeyStroke class really doesn't provide this (unbelievable!), I wonder if there is a way to extend and enhance it? (or AWTKeyStroke)
Can anyone say if its possible, before I go deep and find out that it isn't?
Another secondary question (that I think doesn't worth a new topic), what's the META_DOWN_MASK or META_MASK? or where is this key?
Henrique Abreu -
Management of window handles across sessions
Hi All,
I have a single menu navigation html(image icon per module) for my application modules. Can this navigation menu be used across the new browser sessions created. i.e, the menu need to be having the window handles of all the sessions created on a client m/c.
Can I acess the window handle in javascript of one session from another session?
Its ok even if it is IE specific.
Thanks
Venu.I think the question from me is not clear. For an Application instance, I have the window handles available in the application. What if I open 2 application instances and I need to communicate one window handle of one application instance to another window handle of another application instance...This clearly communicates that these 2 applications are 2 separate session instances. Is it knowing the window names on the client m/c helps...can I get window handle in this case?
Thanks
Maybe you are looking for
-
Text Data source for Classification Data
Hi BW Gurus, Ajay Das and Kishore helped me very well on this, just last step doubt. In r/3 system I have added the char tYPE AND kyf TYPE CHARACTERISTICS to classification data now it has generated the Classification customer attribute data source 1
-
How do I change the picture in the face bar?
How do I change the picture or colors in the top bar on the screen. It is where the file, edit, view, etc commands are written. It is to dark and I would like to customize it to something lighter.
-
How do I turn off bind variable substitution in Sql Developer 3.2 when I am creating a trigger that references old and new values using the colon-old format? I can use set define off for sqlplus, but that doesn't work for the bind variable substituti
-
Even though Popup Blocker is on, I"m suddenly receiving a ton of popups. Help!
I am receiving an abundance of popups. I understand that "Sometimes ads are designed to look like windows, but really aren't. Firefox's pop-up blocker can't stop these ads." However, I have never received them prior to the last week. == It started a
-
Can I create a saturation mask based to a gradient map?
Hi can i create a saturation mask based on a gradient map? for the example a gradient blue from 2441f6 to 6075f6 and have a luminocity mask based of this gradient can i do it? how can i do it? thanks cheers