![]() |
|
#1
|
|||
|
|||
Detecting a mouse click outside of controlHi,
I have a CDateTimeCtrl which I am growing in size when the focus is set and shrinking back to its normal size when focus is killed. at the moment the only way I can get the control to lose focus is to set the focus onto another control. Ideally when the user clicks anywhere outside of the control the focus should be lost and the CDateTimeCtrl shrink back to its normal size. the ComboBox control obvioulsy does something similar but can I do it with my CDateTimeCtrl? I am using eVC++ 3 for Windows CE. Many thanks Arran |
|
#2
|
||||
|
||||
|
Quote:
I think you should go with this.... Just give the focus to another control (I used a button) when the user clicks the dialog: CPP / C++ / C Code:
Hope this is good enough for you - I don't have another idea right now Quote:
The horror! Kind regards, Luci __________________
Please read these Guidelines before posting on the forum "A person who never made a mistake never tried anything new." Einstein |
Recent GIDBlog
Developing GUIs with wxPython (Part 4) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to add progress text to an MFC progress control? | m_dale | MS Visual C++ / MFC Forum | 3 | 07-Jan-2005 02:25 |
| [Program/Tutorial] RandMouse | aaroncohn | C Programming Language | 5 | 17-Dec-2004 19:22 |
| changing caption of static text control | Pandiani | MS Visual C++ / MFC Forum | 1 | 20-Sep-2004 01:38 |
| list of the most common keyboard and mouse shortcuts for IE, Opera and Firebird | jrobbio | Computer Software Forum - Windows | 2 | 04-Sep-2003 09:10 |
| Sydog's DVD to Divx Conversion Guide | asanthadenz | Computer Software Forum - Windows | 1 | 14-Mar-2003 14:08 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The