Click here to Skip to main content
15,915,703 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Writing a replacement taskbar Pin
Anonymous22-Jun-03 13:21
Anonymous22-Jun-03 13:21 
GeneralRe: Writing a replacement taskbar Pin
Reaper_Man2k25-Jun-03 10:07
Reaper_Man2k25-Jun-03 10:07 
QuestionHow to keep CComboBox list open Pin
PJ Arends22-Jun-03 9:51
professionalPJ Arends22-Jun-03 9:51 
AnswerRe: How to keep CComboBox list open Pin
Neville Franks22-Jun-03 13:21
Neville Franks22-Jun-03 13:21 
GeneralRe: How to keep CComboBox list open Pin
PJ Arends23-Jun-03 16:36
professionalPJ Arends23-Jun-03 16:36 
GeneralRe: How to keep CComboBox list open Pin
Neville Franks23-Jun-03 16:46
Neville Franks23-Jun-03 16:46 
GeneralRe: How to keep CComboBox list open Pin
PJ Arends23-Jun-03 17:11
professionalPJ Arends23-Jun-03 17:11 
GeneralRe: How to keep CComboBox list open Pin
Neville Franks23-Jun-03 18:20
Neville Franks23-Jun-03 18:20 
PJ Arends wrote:
From what I have been able to figure out, the drop list is not actually closed or destroyed, it is just hidden (in spy++ its HWND stays active, even though it is not visible).

Aha. What Styles does Spy++ say it has when it is hidden. Is WS_VISIBLE set? Maybe it is be placed behind the app. From memory either the edit or list portion of a combo has the desktop as its parent.


PJ Arends wrote:
I have to use my own list control, because the drop list of the combo box (class COMBOLBOX) does not generate a WM_RBUTTONDOWN or a WM_CONTEXTMENU message when I right click on it (The edit control portion of the combo control does however).

What about reverting to the standard combo box and doing a hit test when you get the WM_CONTEXTMENU in the edit control and if it is over the list ctrl do your menu thing.


PJ Arends wrote:
The problem I am having now is that when I handle the WM_CONTEXTMENU message in my own subclassed list control, I pop up a popupmenu and the list disappears. It is all rather annoying.

Can you do a ShowWindow(), BringWindowToTop() on the list ctrl from your popup menu?

Neville Franks, Author of ED for Windows. Free Trial at www.getsoft.com
QuestionHow to create an OnBeforeFileDownload() method in CHtmlView ? Pin
bigK198122-Jun-03 8:56
bigK198122-Jun-03 8:56 
AnswerRe: How to create an OnBeforeFileDownload() method in CHtmlView ? Pin
bigK198123-Jun-03 6:26
bigK198123-Jun-03 6:26 
QuestionWhere in CMainFrame should I call GetDlgItem? Pin
kydfru22-Jun-03 7:31
kydfru22-Jun-03 7:31 
AnswerRe: Where in CMainFrame should I call GetDlgItem? Pin
Ryan Binns22-Jun-03 15:04
Ryan Binns22-Jun-03 15:04 
GeneralRe: Where in CMainFrame should I call GetDlgItem? Pin
kydfru22-Jun-03 21:42
kydfru22-Jun-03 21:42 
GeneralRe: Where in CMainFrame should I call GetDlgItem? Pin
Ryan Binns22-Jun-03 22:08
Ryan Binns22-Jun-03 22:08 
GeneralRe: Where in CMainFrame should I call GetDlgItem? Pin
kydfru22-Jun-03 22:27
kydfru22-Jun-03 22:27 
GeneralRe: Where in CMainFrame should I call GetDlgItem? Pin
Ryan Binns22-Jun-03 22:29
Ryan Binns22-Jun-03 22:29 
QuestionHow do I extract the next 6 letters from buffer starting a postion 12 in buffer.. Pin
IrishSonic22-Jun-03 6:32
IrishSonic22-Jun-03 6:32 
AnswerRe: How do I extract the next 6 letters from buffer starting a postion 12 in buffer.. Pin
kydfru22-Jun-03 7:25
kydfru22-Jun-03 7:25 
AnswerRe: How do I extract the next 6 letters from buffer starting a postion 12 in buffer.. Pin
valikac22-Jun-03 7:25
valikac22-Jun-03 7:25 
AnswerRe: How do I extract the next 6 letters from buffer starting a postion 12 in buffer.. Pin
peterchen22-Jun-03 23:39
peterchen22-Jun-03 23:39 
GeneralHELP! HELP! HELP! Open & read .mdb on the Web-page using VC++ 6.0 Pin
ATC22-Jun-03 5:22
ATC22-Jun-03 5:22 
GeneralRe: HELP! HELP! HELP! Open & read .mdb on the Web-page using VC++ 6.0 Pin
Nick Parker22-Jun-03 6:07
protectorNick Parker22-Jun-03 6:07 
GeneralRe: Can you specify which one? Pin
ATC22-Jun-03 9:34
ATC22-Jun-03 9:34 
GeneralRe: Can you specify which one? Pin
Christian Graus22-Jun-03 17:10
protectorChristian Graus22-Jun-03 17:10 
GeneralRe: Can you specify which one? Pin
ATC23-Jun-03 7:08
ATC23-Jun-03 7:08 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.