LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

MDI and tabcontrols

Hello,

I'm trying to create a child panel with standard title bar. The parent
panel is a tabcontrol created with easytab.fp. I tried to do it using
the SDK functions but I didn't succed. Is it possible ?
0 Kudos
Message 1 of 3
(3,241 Views)
Hello

As described in this posting, there may be cases where mixing the Windows SDk functions along with the CVI UI library does not provide the desired results. You can simulate the standard title bar on child panels by using picture controls on the top to manually add the title bar. I agree it would look klunky, but this way, you would be able to use the first argument of the LoadPanel() function to specify the parent panel. I believe this would work with the easy tab control.

I hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
0 Kudos
Message 2 of 3
(3,241 Views)
Thank you Bilal, I'll try this solution.



bilalD wrote in message news:<50650000000500000079BA0100-1079395200000@exchange.ni.com>...



> Hello
>
> As described in this
> href="http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=50650000000800000...
,
> there may be cases where mixing the Windows SDk functions along with
> the CVI UI library does not provide the desired results. You can
> simulate the standard title bar on child panels by using picture
> controls on the top to manually add the title bar. I agree it would
> look klunky, but this way, you would be able to use the first argument
> of the LoadPanel() function to specify the parent panel. I believe
> this wou
ld work with the easy tab control.
>
> I hope this helps
>
> Bilal Durrani
> NI
0 Kudos
Message 3 of 3
(3,241 Views)