창조유저그룹-커즈닷컴
Window close
ID :     PASS :   
   
  처음으로
  창조
  창조 소개
창조 다운로드
CUGz.com 소개
온라인 도움말
  커뮤니티
  가입인사
자유게시판
Q/A게시판
TIP/TECH
열린강좌
자주하는질문
아이디어게시판
  자료실
  소스자료실
프로그램자료실
기타자료실
명예의 전당
이미지 자료실
  지원/기타
  표준용어재정
구글 웹서치  
관리자 전용


질문게시판
- 반드시 검색을 하신 후 원하는 답변을 찾을 수 없을 때, 질문을 올려주세요.


LIST ALL
Posted by qkrwhdgns2005-11-13 07:39:02, Hit : 2795
메뉴에 체크넣기..
Post URL : http://cugz.sjworks.net/bbs/zboard.php?id=qna&no=1298
9b 이상부터는 ㅎ메뉴항목 객체에..

표시라는 속성이 추가되어있어서.. 이 속성을 참으로 바꾸면 메뉴에

체크가 됩니다.^^.. 그런데.. 76을 더 많이 사용하는 저는..

체크를 어떻게하죠?.. API를 이용하는 것 같은데..

다시 9b로 하기에는.. 너무 늦어요;; 이미.. 라디오 버튼 등등도 넣고 해서;;

불러오면 에러가 날것이 뻔하고.. 9b는.. 명령어 넣는 창의 글자가.. 겹쳐서.. 불편한데..

그런데.. 메뉴에 체크를 넣는거.. 꼭 필요한 건 아닌데 ─ ─;;

qkrwhdgns   2005-11-13 AM 7:59:49  
관련 항목일것 같아서 올립니다. (MDSN..)
MSDN Home > MSDN Library > Win32 and COM Development > User Interface > Windows User Interface > Resources > Menus >CheckMenuItem Function
--------------------------------------------------------------------------------
The CheckMenuItem function sets the state of the specified menu item's check-mark attribute to either selected or clear.

Syntax

DWORD CheckMenuItem( HMENU hmenu,
UINT uIDCheckItem,
UINT uCheck
);

Parameters

hmenu
[in] Handle to the menu of interest.
uIDCheckItem
[in] Specifies the menu item whose check-mark attribute is to be set, as determined by the uCheck parameter.
uCheck
[in] Specifies flags that control the interpretation of the uIDCheckItem parameter and the state of the menu item's check-mark attribute. This parameter can be a combination of either MF_BYCOMMAND, or MF_BYPOSITION and MF_CHECKED or MF_UNCHECKED.
MF_BYCOMMAND
Indicates that the uIDCheckItem parameter gives the identifier of the menu item. The MF_BYCOMMAND flag is the default, if neither the MF_BYCOMMAND nor MF_BYPOSITION flag is specified.
MF_BYPOSITION
Indicates that the uIDCheckItem parameter gives the zero-based relative position of the menu item.
MF_CHECKED
Sets the check-mark attribute to the selected state.
MF_UNCHECKED
Sets the check-mark attribute to the clear state.
Return Value

The return value specifies the previous state of the menu item (either MF_CHECKED or MF_UNCHECKED). If the menu item does not exist, the return value is -1.




Remarks


Note The CheckMenuItem function has been superseded by the SetMenuItemInfo function. You can still use CheckMenuItem, however, if you do not need any of the extended features of SetMenuItemInfo.

An item in a menu bar cannot have a check mark.

The uIDCheckItem parameter identifies a item that opens a submenu or a command item. For a item that opens a submenu, the uIDCheckItem parameter must specify the position of the item. For a command item, the uIDCheckItem parameter can specify either the item's position or its identifier.

Example


For an example, see Simulating Check Boxes in a Menu.


Function Information

Minimum DLL Version user32.dll
Header Declared in Winuser.h, include Windows.h
Import library User32.lib
Minimum operating systems Windows 95, Windows NT 3.1
Unicode Implemented as Unicode version.

See Also

Menus, EnableMenuItem, GetMenuItemID, SetMenuItemBitmaps, SetMenuItemInfo

--------------------------------------------------------------------------------



Manage Your Profile |Legal |Contact Us |MSDN Flash Newsletter
© 2005 Microsoft Corporation. All rights reserved. Terms of Use |Trademarks |Privacy Statement
이진백   2005-11-13 AM 10:32:14  
0.76에서도 명령어에서 접근이 가능합니다.
디자인 모드에서 오른쪽에 표시는 안됩니다만...
명령어에서 메뉴항목.표시:=참; 해보시죠.
qkrwhdgns   2005-11-13 AM 10:59:30  
헉.. 되네요-_-;; (뭐야.. 퍼버버버버버버벅!!!!;;)
박종훈   2006-08-04 PM 4:37:07  
이런. 해보지도 않고 해본것에 대해 사과드립니다. 죄송합니다.
앞으로 똑바로 하겠습니다. ^^;
LIST ALL               GO TO THE TOP


N
Category
   Subject
Posted by
Date
H
1907 기타
       [re] 창조로 이런식으로 구현할 수도 있습니다.. [4]
qkrwhdgns 2005/07/03  3285
1906 창조
   창조 0.76 (?) 0.75 (?) [6]
qkrwhdgns 2005/07/25  2921
1905 기타
   인스톨팩토리 단축 아이콘 오류 관련.. [3]
qkrwhdgns 2005/07/26  5424
1904 창조
   현재경로.. 레지스트리.. 경로가 이상해요.. [4]
qkrwhdgns 2005/07/27  3831
1903 창조
   빵집 압축할때처럼.. 파일관리창 옆에 불어다... [5]
qkrwhdgns 2005/07/28  2842
1902 창조
   창조에서 시스템 폴더 어떻게 만들어요.. [9]
qkrwhdgns 2005/08/02  2987
1901 창조
   창조로 만든 EXE 실행이 않됨.. [5]
qkrwhdgns 2005/08/03  3305
1900 창조
   메모객체로.. HTML로 저장했데.. 이상해요.. [9]
qkrwhdgns 2005/08/05  2867
1899 창조
   창조로고는 폼(?) [20]
qkrwhdgns 2005/08/06  3239
1898 창조
   창조웹브라우저에서 타이틀 얻기.. [4]
qkrwhdgns 2005/08/13  3414
1897 창조
   닫기버튼 비활성 [4]
qkrwhdgns 2005/08/28  3130
1896 창조
   좌변과 우변이 다름.. [10]
qkrwhdgns 2005/09/03  3224
1895 창조
   종료 인식을 못하네요(?) [7]
qkrwhdgns 2005/10/07  3047
1894 창조
   그림 복사? [2]
qkrwhdgns 2005/10/15  3717
1893 창조
   파일탐색에서 확장자분류.. [5]
qkrwhdgns 2005/10/16  3572
1892 창조
   모든 파일명 추출(?) [8]
qkrwhdgns 2005/10/22  3111
1891 창조
   창조웹브라우저.. 밑판이 많을때..;음.. [1]
qkrwhdgns 2005/11/06  3854
1890 창조
   툴바 In 메뉴.. [13]
qkrwhdgns 2005/11/09  3388
창조
   메뉴에 체크넣기.. [4]
qkrwhdgns 2005/11/13  2795
1888 기타
   윈도우 nt계열 유저분들 이 파일있나요?.. [3]
qkrwhdgns 2005/11/11  2946
1887 창조
   바로가기 만들기 [12]
qkrwhdgns 2005/11/26  3539
1886 기타
   VB 한글화.. [2]
qkrwhdgns 2005/12/12  3539
1885 기타
   Win.exe 찾을 수 없음;;; [15]
qkrwhdgns 2005/12/25  3313
1884 창조
   드래그 인자? -_-; [7]
qkrwhdgns 2006/01/01  2942
1883 창조
   창 반투명 효과.. [소스는 얼추 비슷-_-;;] [4]
qkrwhdgns 2006/01/12  3293
LIST ALL   Prev [1].. 11 [12][13][14][15][16][17][18][19][20]..[87] Next
Copyright 1999-2024 Zeroboard / skin by reedyfox in miniwini style
로그인
지우개 Expert 3.0
제작자 : 천호성 님 [LINK]
로그인
대박로또2005
제작자 : 최재일 님 [LINK]
로그인
1박종훈15292 점
2지상현8809 점
3손상진7388 점
4권선중6060 점
5이진백5174 점
로그인
가입일닉네임
05/31김동률
03/31홍형기
09/01o00pp99oo
12/27이재민
11/20이희철
로그인