Click here to Skip to main content
15,895,779 members
Articles / Programming Languages / C++

Drag and Drop on a Tray Icon

Rate me:
Please Sign up or sign in to vote.
2.80/5 (4 votes)
6 Aug 2007CPOL2 min read 53.9K   885   23  
How to detect that an item was dropped on a specific tray icon
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by RDP Drag-Drop.rc
//
#define ID_BTN_CONNECT                  1
#define ID_BTN_CANCEL                   2
#define IDD_ABOUTBOX                    103
#define IDM_ABOUT                       104
#define IDM_EXIT                        105
#define IDI_TRAY                        131
#define IDR_TRAY                        132
#define ID_COMBOBOX_COMPUTERS           901
#define ID_BTN_HELP                     902
#define ID_BTN_OPTIONS                  903
#define IDI_IMAGE                       1000
#define IDC_STATIC_PIC1                 1001
#define ID_CM_WMTRANSFERFILE            32780
#define ID_CM_WMABOUT                   32781
#define ID_CM_WMEXIT                    32782
#define ID_CM_ENABLE_DRAGNDROP          32784
#define IDC_STATIC                      -1

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NO_MFC                     1
#define _APS_NEXT_RESOURCE_VALUE        136
#define _APS_NEXT_COMMAND_VALUE         32785
#define _APS_NEXT_CONTROL_VALUE         1004
#define _APS_NEXT_SYMED_VALUE           110
#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.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) a large company
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions