Click here to Skip to main content
15,908,112 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Image scaling Pin
Johann Gerell25-May-04 21:53
Johann Gerell25-May-04 21:53 
GeneralBig Endian and small endian Pin
nachilau24-May-04 12:22
nachilau24-May-04 12:22 
GeneralRe: Big Endian and small endian Pin
peterchen24-May-04 14:38
peterchen24-May-04 14:38 
GeneralSDI- Invalid pointer in Release Mode...Ok in Debug Pin
jerry1211a24-May-04 11:09
jerry1211a24-May-04 11:09 
GeneralRe: SDI- Invalid pointer in Release Mode...Ok in Debug Pin
valikac24-May-04 14:41
valikac24-May-04 14:41 
GeneralVisual Basic sendmessage Pin
soul.ripper24-May-04 10:55
soul.ripper24-May-04 10:55 
GeneralRe: Visual Basic sendmessage Pin
Hesham Amin24-May-04 22:47
Hesham Amin24-May-04 22:47 
GeneralRe: Visual Basic sendmessage Pin
David Crow25-May-04 2:35
David Crow25-May-04 2:35 
soul_ripper wrote:
Im building a C++ DLL for visual basic

Do you mean a C++ DLL that will be used by VB? If you mean something different, please explain so that we do not provide you with unnecessary suggestions.

soul_ripper wrote:
I need to go around a bug, This message just wont work
with visual basic


Which message is problematic?

soul_ripper wrote:
long __stdcall main (int hWnd, int Msg, int wParam, int lParam)
{
::SendMessage(hWnd, Msg, wParam, lParam);
return 0;
}


The parameters passed to main() are int, char **, and char **.

That aside, the first parameter to SendMessage() must be a valid window handle, or HWND_BROADCAST if you want all top-level windows to receive the message, that has a message pump.


"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)


GeneralRe: Visual Basic sendmessage Pin
soul.ripper25-May-04 11:19
soul.ripper25-May-04 11:19 
GeneralRe: Visual Basic sendmessage Pin
David Crow26-May-04 2:13
David Crow26-May-04 2:13 
GeneralRe: Visual Basic sendmessage Pin
soul.ripper29-May-04 7:29
soul.ripper29-May-04 7:29 
GeneralRe: Visual Basic sendmessage Pin
David Crow31-May-04 9:22
David Crow31-May-04 9:22 
GeneralactiveX control - using CListCtrl Pin
BlackDice24-May-04 10:44
BlackDice24-May-04 10:44 
GeneralRe: activeX control - using CListCtrl Pin
Dimitris Vasiliadis24-May-04 12:05
Dimitris Vasiliadis24-May-04 12:05 
GeneralRe: activeX control - using CListCtrl Pin
BlackDice25-May-04 6:00
BlackDice25-May-04 6:00 
GeneralGetSaveFileNamePreview Pin
Andy Moore24-May-04 9:44
Andy Moore24-May-04 9:44 
GeneralDouble buffering with GDI+ Pin
Jorgen E.24-May-04 8:49
Jorgen E.24-May-04 8:49 
GeneralRe: Double buffering with GDI+ Pin
567890123424-May-04 19:28
567890123424-May-04 19:28 
GeneralRe: Double buffering with GDI+ Pin
Jorgen E.25-May-04 3:30
Jorgen E.25-May-04 3:30 
GeneralRe: Double buffering with GDI+ Pin
567890123425-May-04 4:06
567890123425-May-04 4:06 
GeneralRe: Double buffering with GDI+ Pin
Jorgen E.25-May-04 4:45
Jorgen E.25-May-04 4:45 
GeneralRe: Double buffering with GDI+ Pin
567890123425-May-04 5:05
567890123425-May-04 5:05 
GeneralRe: Double buffering with GDI+ Pin
Jorgen E.25-May-04 5:12
Jorgen E.25-May-04 5:12 
GeneralRe: Double buffering with GDI+ Pin
567890123425-May-04 5:17
567890123425-May-04 5:17 
GeneralRe: Double buffering with GDI+ Pin
Jorgen E.25-May-04 5:22
Jorgen E.25-May-04 5:22 

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.