LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI Application Windows Class Name question

When my CVI application is running and I run Microsoft Spy++, it shows the Window Class Name is "CVIRTLVDChild00400000".

It looks like this is a typical name and if I run different software made with CVI runtime all windows have this class name.

I use another software that may communicate with other running application using their Windows Class Name.

 

So the question is: Is there a way to modify the Windows Class Name for main window for a particular CVI project?

0 Kudos
Message 1 of 6
(3,672 Views)

No, the window class name is actually hardcoded in the CVI Run-Time Engine. I don't believe there is a way to change the name of an existing class name either. You can programmatically get the class name in CVI:

 

        intptr_t wnd;
	int status = 0;
	char className[256];
	
	wnd = GetCVIWindowHandle ();
	status = GetClassName((HWND)wnd, className, 256);

 

National Instruments
0 Kudos
Message 2 of 6
(3,645 Views)

Thank you for your reply, D Biel.

 

I expected that it is not possible since it is too "internal" thing. So I was forced to switch to another solution.

 

P.S. I hope some day a status bar and "decoration" button will appear in the CVI control list 😉

0 Kudos
Message 3 of 6
(3,643 Views)

Hi ZVS,

 

a status bar has been suggested here and you are welcome to support it Smiley Wink

0 Kudos
Message 4 of 6
(3,639 Views)

I would like to support it but did not find how.

For myself I use the Windows Status bar control and it looks and works fine except a callback and control sequence. Screen is attached.

0 Kudos
Message 5 of 6
(3,624 Views)

ZVS,

 

You can just click the up arrow to give the idea kudos. The highest kudo ideas draw the most attention from our R&D department.

 

Regards,

 

Kyle Mozdzyn

Applications Engineering

National Instruments

Regards,

Kyle M.
Applications Engineering
National Instruments
0 Kudos
Message 6 of 6
(3,606 Views)