Click here to Skip to main content
15,893,508 members
Articles / Desktop Programming / MFC

Cool Push Menu Button

Rate me:
Please Sign up or sign in to vote.
3.39/5 (24 votes)
3 Jul 2003 471.1K   6.8K   103  
This article shows the use of a Push button with a drop down menu, similar to the one found in the Office 2000 suite.
//{{NO_DEPENDENCIES}}
// Microsoft Developer Studio generated include file.
// Used by SplitBtn.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDD_ABOUTBOX                    100
#define IDS_ABOUTBOX                    101
#define ID_OPENFILE                     101
#define IDD_SPLITBTN_DIALOG             102
#define ID_OPENFILE_READ                102
#define IDR_MAINFRAME                   128
#define IDC_FILE                        129
#define IDB_BITMAP1                     131
#define IDC_BUTTON2                     1000
#define IDC_ENABLE                      1001
#define IDC_DISABLE                     1002

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        133
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1002
#define _APS_NEXT_SYMED_VALUE           103
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


Written By
Software Developer (Senior) Software Kinetics
United Kingdom United Kingdom




Software Kinetics
are experts in developing customised and bespoke applications and have expertise in the development of desktop, mobile and internet applications on Windows.


We specialise in:

  • User Interface Design
  • Desktop Development
  • Windows Phone Development
  • Windows Presentation Framework
  • Windows Forms
  • Windows Communication Framework
  • Windows Services
  • Network Applications
  • Database Applications
  • Web Development
  • Web Services
  • Silverlight
  • ASP.net


Visit Software Kinetics

Comments and Discussions