Hello
I have written an CVI app., which should start allways maximized.
I have tried
GetPanelAttribute (panel, ATTR_SYSTEM_WINDOW_HANDLE, &iZwi);
hwnd = (HWND)iZwi;
lWert = GetWindowLong (hwnd, GWL_STYLE);
SetWindowLong (hwnd, GWL_STYLE, lWert | WS_MAXIMIZE);
but this does not work.
I have also tried
GetScreenSize (&height, &width);
SetPanelPos (panel, 24, 0);
SetPanelSize (panel, height-24, width);
but this gives me not a maximized window, but a window with the screensize.
Does anymody knew, how to do that ?
Thanks
Stephan Gerhards
stephan.gerhards@ni.com