C++Builder Programming Forum
C++Builder  |  Delphi  |  FireMonkey  |  C/C++  |  Free Pascal  |  Firebird
볼랜드포럼 BorlandForum
 경고! 게시물 작성자의 사전 허락없는 메일주소 추출행위 절대 금지
C++빌더 포럼
Q & A
FAQ
팁&트릭
강좌/문서
자료실
컴포넌트/라이브러리
메신저 프로젝트
볼랜드포럼 홈
헤드라인 뉴스
IT 뉴스
공지사항
자유게시판
해피 브레이크
공동 프로젝트
구인/구직
회원 장터
건의사항
운영진 게시판
회원 메뉴
북마크
볼랜드포럼 광고 모집

C++빌더 Q&A
C++Builder Programming Q&A
[17123] [질문]CreateWindowEx함수에 대한 질문.
위성류 [] 1498 읽음    2002-04-02 16:35
HWND hwndScintilla;

hwndScintilla = CreateWindow(
                 WS_EX_CLIENTEDGE,
                 "aaa",
                 "Test",
                 WS_CAPTION | WS_SYSMENU | WS_THICKFRAME | WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_MAXIMIZE | WS_CLIPCHILDREN,
             CW_USEDEFAULT,
                     CW_USEDEFAULT,
                 CW_USEDEFAULT,
                     CW_USEDEFAULT,
                 NULL,
                 NULL,
                 hInstance,
                 0);

이 함수를 쓰면 창이 떠야 하는 것인지요? 참고로 aaa는 에디터 컨트롤입니다.
build가 성공적으로 된 후에 실행을 해보니 아무 실행도 되지 않는군요.

참고
The CreateWindow function creates an overlapped, pop-up, or child window. It specifies the window class, window title, window style, and (optionally) the initial position and size of the window. The function also specifies the window's parent or owner, if any, and the window's menu.

HWND CreateWindow(

    LPCTSTR lpClassName,    // pointer to registered class name
    LPCTSTR lpWindowName,    // pointer to window name
    DWORD dwStyle,    // window style
    int x,    // horizontal position of window
    int y,    // vertical position of window
    int nWidth,    // window width
    int nHeight,    // window height
    HWND hWndParent,    // handle to parent or owner window
    HMENU hMenu,    // handle to menu or child-window identifier
    HANDLE hInstance,    // handle to application instance
    LPVOID lpParam     // pointer to window-creation data
   );

+ -

관련 글 리스트
17123 [질문]CreateWindowEx함수에 대한 질문. 위성류 1498 2002/04/02
Google
Copyright © 1999-2015, borlandforum.com. All right reserved.