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


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


LIST ALL
Posted by qkrwhdgns2005-11-13 07:39:02, Hit : 2841
메뉴에 체크넣기..
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
408 창조
   악!! 창조파일이 ㅠㅠ [8]
이희창[빙고] 2006/08/04  2862
407 기타
   [서버] 공유기를 사용중인 컴을 서버로 사용... [4]
권선중 2005/06/27  2861
406 창조
   ~에서~까지 삭제... [10]
이희창(빙고) 2006/02/24  2860
405 창조
   ㅎ파일관리창에서, 입력한 확장자까지 알수있... [6]
박종훈 2006/08/03  2858
404 창조
   여러 자료를 저장하는 법. [5]
신용주 2006/08/22  2858
403 기타
   창조 인들은 정모 같은건 없나보죠? [7]
신용주 2005/11/04  2857
402 창조
   [질문] 파일지워; 명령어로 다수의 파일을 지... [11]
김환욱 2004/06/29  2856
401 창조
   초보적인 질문인데요 [6]
양성호 2005/09/20  2856
400 창조
   질문있어요 .. 효과음에 대해서 [9]
철희 2006/01/09  2855
399 창조
   [제 실력으로는 거의 불가능하다고 봄]리스트... [2]
『이경석』 2005/07/15  2854
398 창조
   객체가 사라지는 것 어떻하면 되죠? [8]
박종훈 2006/02/02  2854
397 창조
   잡다한 질문... [2]
신용주 2006/08/12  2854
396 창조
   웹문서를 테두리 없이 불러 오고 싶습니다.. [5]
김길남 2006/07/08  2853
395 창조
   질문 하나 있습니다. 이름표로 문자를 스크... [5]
강성민[FreeCreate] 2005/03/05  2852
394 창조
   창조로 제작가능하는지요? [1]
김훈 2006/04/25  2848
393 창조
   캐릭터 부드럽게 빨리움직이는법좀 [1]
배찬훈 2005/03/06  2847
392 창조
   실행파일 아이콘 등록시 문제점.. [3]
세죠위그이 2004/10/22  2845
391 창조
   여러줄 입력가능한 에디트 [2]
상훈 2009/06/01  2843
창조
   메뉴에 체크넣기.. [4]
qkrwhdgns 2005/11/13  2841
389 기타
   서비스팩2 이후 증상....... [8]
위자드 2004/11/14  2840
388 창조
   갑자기 궁금한게 생겼어여 [9]
창조조아 2005/01/14  2840
387 기타
   메크로 질문을 올려봅니다. [6]
만물 2006/09/23  2840
386 창조
   음냐... 저는 너무 멍청하네요 ㅠㅠ [저장할... [5]
박창조 2006/02/12  2839
385 창조
   버튼 누르면 선택창이 뜨게하고 예를누르면..... [3]
임재한 2006/08/25  2839
384 기타
   실행파일 생성이 안되네요... [3]
성인e 2006/09/15  2839
LIST ALL   Prev [1].. 71 [72][73][74][75][76][77][78][79][80]..[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이희철
로그인