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


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


LIST ALL
Posted by qkrwhdgns2005-11-13 07:39:02, Hit : 2796
메뉴에 체크넣기..
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
1808 창조
   "실행해" 명령에서.. [5]
자유창조 2005/02/03  2767
1807 창조
     [re] 하나의 창을 옆에 붙어다니게 할려면 어떻게... [3]
박재성[날개달기] 2006/02/14  2768
1806 창조
     [re] [질문] 어디 방송에서 방영된줄아세요
김훈 2004/08/31  2769
1805 창조
     여러가지 방법이 있습니다.
이진백 2005/01/26  2769
1804 창조
   실행파일에 대한 질문입니다 [6]
다현아빠 2005/03/06  2769
1803 창조
   이런것도 창조로 가능한가요? [5]
철희 2006/02/06  2769
1802 창조
   마우스를 위에 올려놨을 때 버튼의 그림의 모... [2]
미도르 2003/01/20  2771
1801 창조
   너무 많이 질문해서 죄송합니다. [4]
『이경석』 2005/09/25  2771
1800 창조
   비밀번호 제작기를 만들려고 하는데요.
신용주 2006/08/01  2771
1799 창조
   아..한번만 더 질문..ㅈㅅ 글자 변환하기... [4]
김태형 2007/12/18  2772
1798 창조
   마우스...
에일리언 2003/02/19  2773
1797 창조
   이걸 어떻게 적용시키죠?! [3]
장규형 2006/08/02  2774
1796 창조
   난수도 잘 나올 확률이 있나요? [2]
『이경석』 2005/12/17  2778
1795 창조
   웹브라우저 에서 창조 제어하기 [2]
김길남 2006/07/31  2779
1794 창조
     [re] 리스트박스1과 리스트박스2의 내용을 서로 ... [1]
손상진 2006/11/17  2780
1793 창조
   웹브라우져 관련 질문 [6]
이지행[세죠위그이] 2005/01/08  2781
1792 창조
     [re] 창 이동 불가. [예제소스] [3]
박종훈 2006/09/11  2781
1791 창조
     [re] 답변 [1]
위자드 2004/09/18  2782
1790 창조
   리스트박스 선택여부 질문...
위자드 2004/07/25  2784
1789 창조
   인터넷 방송 플레이어를 탐색중에 있습니다. [3]
신용주 2006/07/28  2786
1788 기타
   [질문]게임개발시 요령? [6]
김환욱 2006/09/24  2789
1787 창조
   아이콘 만드는 프로그램 [2]
신용주 2005/12/16  2794
1786 창조
   창조로 제작가능하는지요? [1]
김훈 2006/04/25  2794
1785 창조
   리스트박스에서..원래있는 스크롤바대신 [9]
이시영 2004/07/09  2796
창조
   메뉴에 체크넣기.. [4]
qkrwhdgns 2005/11/13  2796
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이희철
로그인