Click here to Skip to main content
15,914,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Visual Basic sendmessage Pin
soul.ripper25-May-04 11:19
soul.ripper25-May-04 11:19 
[Code]
Do you mean a C++ DLL that will be used by VB?
[/code]

yes the DLL will be used by Visual basic

[code]
Which message is problematic?
[/code]

this message is not working
SendMessage(HWND_BROADCAST ,WM_SETTINGCHANGE,SPI_SETNONCLIENTMETRICS,NULL)
Declared with visual basic
[code]
Declare Function SendMessage Lib "USER32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal Msg As Long, wParam As Any, lParam As Any) As Long
[/code]

Call the message with visual basic
[code]
Public Sub test()
Call SendMessage(HWND_BROADCAST, WM_SETTINGCHANGE, SPI_SETNONCLIENTMETRICS, Null)
End Sub
[/code]

I need a dll that replaces the user32.dll SendMessage function

like this sample
passing value’s

[code]
Declare Function SendMessage Lib "send" Alias "SendMessageA" (ByVal hwnd As Long, ByVal Msg As Long, wParam As Any, lParam As Any) As Long
[/code]

[code]
long __stdcall main (value 1, value2, value3, value4 )
{
::SendMessage(value 1, value2, value3, value4);
return 0;
}

/*
[/code]

How can I pass the value’s from visual basic in to the Sendmessage function from
The C++ DLL ?



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 
GeneralRe: Double buffering with GDI+ Pin
567890123425-May-04 5:43
567890123425-May-04 5:43 

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.