- CVI 정보나눔(www.cvi.kr)
- 스터디
- 질문답변
질문,답변
글 수 1,629
메인 판넬에 자식 판넬을 2개를 띄었는데요..
이..자식 판넬들을...나란히 배열하고파여...
일단 메인 판넬의 핸들을 얻고..
GetPanelAttribute (panelHandle, ATTR_SYSTEM_WINDOW_HANDLE, &hWnd);
그 다음에 자식 판넬을 ....정리하라...라구..이렇게 했는데..
TileWindows((HWND)hWnd,MDITILE_HORIZONTAL,NULL,2,NULL);
안되는 군여..--;
다음은 함수의 원형입니다.
WORD TileWindows(
HWND hwndParent, // handle to parent window
UINT wHow, // tiling options
CONST RECT *lpRect, // client area..If this parameter is NULL, the client area of the parent window is used
UINT cKids, // number of windows to arrange
const HWND *lpKids // array of window handles..If this parameter is NULL, all child windows of the specified parent window (or of the desktop window) are arranged.
);
야리가 함수 인자를 잘못사용했나요?
위에서 NULL로 한 것은 그렇게 해도 상관 없대요...^^;
도움 주세요....
이..자식 판넬들을...나란히 배열하고파여...
일단 메인 판넬의 핸들을 얻고..
GetPanelAttribute (panelHandle, ATTR_SYSTEM_WINDOW_HANDLE, &hWnd);
그 다음에 자식 판넬을 ....정리하라...라구..이렇게 했는데..
TileWindows((HWND)hWnd,MDITILE_HORIZONTAL,NULL,2,NULL);
안되는 군여..--;
다음은 함수의 원형입니다.
WORD TileWindows(
HWND hwndParent, // handle to parent window
UINT wHow, // tiling options
CONST RECT *lpRect, // client area..If this parameter is NULL, the client area of the parent window is used
UINT cKids, // number of windows to arrange
const HWND *lpKids // array of window handles..If this parameter is NULL, all child windows of the specified parent window (or of the desktop window) are arranged.
);
야리가 함수 인자를 잘못사용했나요?
위에서 NULL로 한 것은 그렇게 해도 상관 없대요...^^;
도움 주세요....