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


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


LIST ALL
Posted by qkrwhdgns2005-11-13 07:39:02, Hit : 2816
메뉴에 체크넣기..
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
notice 창조   반드시 검색 후 질문을 올려주세요.<... 박종훈 2007/09/24  6128
notice 창조   단순 소스제작 부탁은 예고없이 삭제합니... [2] 손상진 2007/04/11  5968
notice 창조   답변소스 등록 관련 안내입니다. [7] 변혁수 2006/01/11  7825
2155 창조
   메모에서 마지막 글자 다음에 커서 이동
날아라KTX 2024/05/20  26
2154 창조
   메모장 자동 폭 가능할까요? [3]
날아라KTX 2024/04/29  60
2153 창조
   풍선말 글꼴, 크기
날아라KTX 2024/03/26  85
2152 창조
   네이버 증권페이지 가격 [2]
날아라KTX 2024/02/22  112
2151 창조
   문자창, 대화창 프로그램 가운데 출력하기
날아라KTX 2023/02/27  341
2150 창조
   리스트박스 질문드려요. [1]
날아라KTX 2022/10/25  398
2149 창조
   메모내용 코마를 구분으로 리스트박스에 정렬... [3]
날아라KTX 2022/10/02  414
2148 창조
   문자표 글꼴 색상 질문드려요
날아라KTX 2022/09/24  448
2147 창조
   멀티버튼이 마우스 따라다니기 [1]
날아라KTX 2022/09/17  436
2146 창조
   카카오톡 다중 접속기도 만들 수 있을까요?
김지훈 2022/04/19  631
2145 창조
   레지스트리...문제점이 뭘까요???? [3]
날아라KTX 2022/04/14  542
2144 창조
   자판을 뗄때 사건에서 띵띵소리 [1]
날아라KTX 2022/04/09  571
2143 창조
   메모 상단줄 질문드려요.
날아라KTX 2022/04/05  534
2142 창조
   폴더명추출 [1]
날아라KTX 2022/01/24  645
2141 창조
   문자표 질문드려요. [1]
날아라KTX 2021/10/19  610
2140 창조
   성인e님께서 도움주셨던 글자 찾아 색상바꾸... [5]
날아라KTX 2021/10/01  688
2139 창조
   리스트박스에 파일명+파일내용 추가하기 [3]
날아라KTX 2020/07/26  1349
2138 창조
   리스트박스 줄위치에 해당하는 버튼 클릭하기 [2]
날아라KTX 2020/03/11  1522
2137 창조
   에디트0 영역에 문자추가 삭제하기 [2]
날아라KTX 2019/10/15  1627
2136 창조
   이진읽어를 10진으로 바꾼다음에 1과 0만으로... [1]
박재성 2019/06/12  1818
2135 창조
   알파벳순서대로 정렬도 창조로 가능할까요?
날아라KTX 2019/05/12  1605
2134 창조
     [re] 알파벳순서대로 정렬도 창조로 가능할까요? [2]
성인e 2019/05/12  1913
LIST ALL   1 [2][3][4][5][6][7][8][9][10]..[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이희철
로그인