Click here to Skip to main content
15,917,328 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Weird problem - UI related Pin
Don Miguel27-Jun-05 4:53
Don Miguel27-Jun-05 4:53 
GeneralChanging the Dialog Window Button Name Pin
jerry1211a27-Jun-05 3:57
jerry1211a27-Jun-05 3:57 
GeneralRe: Changing the Dialog Window Button Name Pin
Cedric Moonen27-Jun-05 4:02
Cedric Moonen27-Jun-05 4:02 
GeneralRe: Changing the Dialog Window Button Name Pin
jerry1211a27-Jun-05 4:11
jerry1211a27-Jun-05 4:11 
QuestionInsert new media? Pin
Larsson27-Jun-05 3:41
Larsson27-Jun-05 3:41 
AnswerRe: Insert new media? Pin
Blake Miller27-Jun-05 5:02
Blake Miller27-Jun-05 5:02 
GeneralRe: Insert new media? Pin
Larsson27-Jun-05 7:36
Larsson27-Jun-05 7:36 
GeneralRe: Insert new media? Pin
Blake Miller27-Jun-05 7:39
Blake Miller27-Jun-05 7:39 
Maybe like these?

1. Intercept the insertion/removal of a CD/DVD shaman74 Updated: 8 Apr 2005
Rating: 3.36 (9 votes)
How to intercept a new media in the drive, using WM_DEVICECHANGE message.
Interacting with the Operating System >> General
... Introduction While working (with Borland C++), I've found myself in the trouble to write an application that react to the insertion/removal of a media (CD/DVD) in one of the PC's drive. The Event After some surf on the web, I found that the best way to do this is to use a handler to a specific Windows message, WM_DEVICECHANGE , that is sent by the system when a media is inserted or removed, as specified in an MSDN page .> General
... Introduction This is a short article, written after many hours spent on the problem of refreshing a CD file system after burning. At the end, the solution I've found is very very simple, so I've decided to explain it here. The function I've used a call to the BroadcastSystemMessage function to send a WM_DEVICECHANGE message to Windows (XP in my case). The function is defined as follows (found on MSDN): long BroadcastSystemMessage( DWORD dwFlags, LPDWORD lpdwRecipients, UINT uiMes...


3. XDriveBar - Display drive buttons in a fixed toolbar Hans Dietrich Updated: 12 Aug 2003
Rating: 4.52 (14 votes)
XDriveBar implements a drive bar for the drives in a system. The demo project shows how to keep the drive bar in sync by handling the WM_DEVICECHANGE message.
Toolbar & Docking Window articles >> Toolbars
Download demo project - 61.3 Kb Introduction One of my favorite tools is the free 2xExplorer . It offers a very handy dual pane + tree view that really helps when you are working in several different directories. You can see some of the ways you can use 2xExplorer here . Anyway, one of the interesting things about 2xExplorer is that it has a drive bar next to the tree view...


4. Trapping windows messages Rui Reis Updated: 12 Apr 2003
Rating: 4.35 (15 votes)
Trapping windows messages in the .NET framework - a small tutorial
General .NET articles >> General
Download source files - 64.8 Kb Introduction To perform some tasks, we still need to trap unmanaged windows messages, even though we are developing managed code. This is a little tutorial that tries to clarify how to trap those messages using the .NET Framework. The code is written in C#. I believe it will be quite easy for those who are reading this document, and you can use VB.NET™ instead of C#, to port the concepts. Learn by example Now, to clarify...
GeneralRe: Insert new media? Pin
Larsson27-Jun-05 20:36
Larsson27-Jun-05 20:36 
Questionwhy does my view class disappear suddently? Pin
liuyue27-Jun-05 2:05
liuyue27-Jun-05 2:05 
AnswerRe: why does my view class disappear suddently? Pin
Cedric Moonen27-Jun-05 2:07
Cedric Moonen27-Jun-05 2:07 
AnswerRe: why does my view class disappear suddently? Pin
David Crow27-Jun-05 2:19
David Crow27-Jun-05 2:19 
GeneralOnEditPaste Problem Pin
ugur_basak27-Jun-05 1:49
ugur_basak27-Jun-05 1:49 
GeneralRe: OnEditPaste Problem Pin
khan++27-Jun-05 1:53
khan++27-Jun-05 1:53 
GeneralRe: OnEditPaste Problem Pin
ugur_basak27-Jun-05 2:11
ugur_basak27-Jun-05 2:11 
GeneralRe: OnEditPaste Problem Pin
David Crow27-Jun-05 4:11
David Crow27-Jun-05 4:11 
GeneralRe: OnEditPaste Problem Pin
ugur_basak27-Jun-05 4:23
ugur_basak27-Jun-05 4:23 
GeneralRe: OnEditPaste Problem Pin
David Crow27-Jun-05 4:47
David Crow27-Jun-05 4:47 
GeneralUsing my MFC DLL in a Win32 app Pin
anderslundsgard27-Jun-05 1:46
anderslundsgard27-Jun-05 1:46 
GeneralRe: Using my MFC DLL in a Win32 app Pin
Don Miguel27-Jun-05 4:32
Don Miguel27-Jun-05 4:32 
GeneralRe: Using my MFC DLL in a Win32 app Pin
anderslundsgard27-Jun-05 20:52
anderslundsgard27-Jun-05 20:52 
GeneralRe: Using my MFC DLL in a Win32 app Pin
liquid_27-Jun-05 8:48
liquid_27-Jun-05 8:48 
Generalproblem with atlbase Pin
Junyor27-Jun-05 1:45
Junyor27-Jun-05 1:45 
GeneralRe: problem with atlbase Pin
P-Rex27-Jun-05 1:53
P-Rex27-Jun-05 1:53 
GeneralRe: problem with atlbase Pin
Junyor27-Jun-05 2:00
Junyor27-Jun-05 2:00 

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.