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

C / C++ / MFC

 
AnswerRe: How to make an app that runs on Windows 95, 98, ME, NT, 2000 and XP Pin
Joan M16-Mar-03 21:58
professionalJoan M16-Mar-03 21:58 
GeneralTransparent background for a Tree Ctrl Pin
Florin Ochiana16-Mar-03 12:04
Florin Ochiana16-Mar-03 12:04 
GeneralUrgent Checkbox help required Pin
phaedrus16-Mar-03 11:23
phaedrus16-Mar-03 11:23 
GeneralRe: Urgent Checkbox help required Pin
Florin Ochiana16-Mar-03 12:02
Florin Ochiana16-Mar-03 12:02 
GeneralRe: Urgent Checkbox help required Pin
Michael Dunn16-Mar-03 12:35
sitebuilderMichael Dunn16-Mar-03 12:35 
GeneralRe: Urgent Checkbox help required Pin
phaedrus16-Mar-03 15:30
phaedrus16-Mar-03 15:30 
GeneralAccelerator manager Pin
yooyo3d16-Mar-03 11:07
yooyo3d16-Mar-03 11:07 
GeneralDrag & Drop with IDragSourceHelper Pin
Hiusing16-Mar-03 10:02
Hiusing16-Mar-03 10:02 
Hello,

I created a view filled with images. I registered the DI_GETDRAGIMAGE and able to receive the message in the window after I called InitializeFromWindow.

To handle the message, I do the following:

---
LPSHDRAGIMAGE psi = (LPSHDRAGIMAGE)lParam;

psi->hbmpDragImage = (HBITMAP)OleDuplicateData(m_hBmpImage, CF_BITMAP, NULL);
psi->sizeDragImage.cx = m_nBmpWidth;
psi->sizeDragImage.cy = m_nBmpHeight;
psi->crColorKey = RGB(0, 0, 0);

return 0;
---

I tried different combination and also tried InitializeFromBitmap but the drag image still not appear. Do you have any idea?

Thanks,
Ngai
GeneralTranslate VB -> C++ Pin
mduarte16-Mar-03 9:29
mduarte16-Mar-03 9:29 
GeneralRe: Translate VB -> C++ Pin
Christian Graus16-Mar-03 9:40
protectorChristian Graus16-Mar-03 9:40 
QuestionFind a substring in strings of COMBO? Pin
_skidrow_vn_16-Mar-03 9:22
_skidrow_vn_16-Mar-03 9:22 
AnswerRe: Find a substring in strings of COMBO? Pin
Dave Bryant16-Mar-03 9:26
Dave Bryant16-Mar-03 9:26 
GeneralProblems with Htmlhelp API library Pin
trimtrom16-Mar-03 9:00
trimtrom16-Mar-03 9:00 
GeneralRe: Problems with Htmlhelp API library Pin
brandon187916-Mar-03 9:07
brandon187916-Mar-03 9:07 
GeneralRe: Problems with Htmlhelp API library Pin
trimtrom16-Mar-03 9:15
trimtrom16-Mar-03 9:15 
GeneralRe: Problems with Htmlhelp API library Pin
Neville Franks16-Mar-03 9:13
Neville Franks16-Mar-03 9:13 
GeneralRe: Problems with Htmlhelp API library Pin
trimtrom16-Mar-03 9:26
trimtrom16-Mar-03 9:26 
GeneralRe: Problems with Htmlhelp API library Pin
Neville Franks16-Mar-03 9:30
Neville Franks16-Mar-03 9:30 
GeneralRe: Problems with Htmlhelp API library Pin
PJ Arends16-Mar-03 14:46
professionalPJ Arends16-Mar-03 14:46 
GeneralRe: Problems with Htmlhelp API library Pin
Dave Bryant16-Mar-03 9:13
Dave Bryant16-Mar-03 9:13 
GeneralRe: Problems with Htmlhelp API library Pin
Neville Franks16-Mar-03 9:20
Neville Franks16-Mar-03 9:20 
GeneralRe: Problems with Htmlhelp API library Pin
Dave Bryant16-Mar-03 9:22
Dave Bryant16-Mar-03 9:22 
GeneralInterdependent classes Pin
brandon187916-Mar-03 8:54
brandon187916-Mar-03 8:54 
GeneralRe: Interdependent classes Pin
Anonymous16-Mar-03 9:16
Anonymous16-Mar-03 9:16 
GeneralRe: Interdependent classes Pin
Dave Bryant16-Mar-03 9:17
Dave Bryant16-Mar-03 9:17 

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.