msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SendNotifyMessage - not working ?

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Enterprise
Author Message
Anonymous



Joined: 04 Oct 2007
Posts: 20

PostPosted: Sun Sep 02, 2007 6:06 pm    Post subject: SendNotifyMessage - not working ? Reply with quote

I need to update a VB label, with information showing progress of some
processing being carried out in a C DLL.

Basically, I want my C function to be able to write messages back to VB,
which will then display the message in a label. I am subclassing the
form that contains the label to be updated (and passing its hWnd to the
C DLL), I then have a C function like this:


void writeGUIMessage(const char* msg)
{
SendNotifymessage(g_hWnd, WM_SETTEXT, 0, (LPARAM)msg);
}


This is not working - any idea why ?


Note: My Subclassing function stores the form Hwnd into the variable g_hWnd

Archived from group: microsoft>public>vb>enterprise
Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
working with ms word hi all how do i get to open a ms word file having a table and view the data in the cell of the table in my visual basic project on a grid? Thanks in advance

A working program that is "Not Responding"! The program is my speech coordinator that everyone here has helped me so much with in recent months. It now works GREAT and will be demonstrated at the upcoming AI conference in Las Vegas in late June as the first computational link between

byRef not working for me... VB 6.3 Version 9972 I can't explain this. Pretty basic stuff. I pass a integer to a subroutine (byREf - default) and add one to it. It doesn't work. The code below generates: 6 5 I would expect: 6 6 HELP! Ta Option Explicit Sub test(y As Integer) y = y +

EXE Not Working On Another Machine I have created a VB6 EXE app which makes use of MS-FlexGrid & a MS- Access database along with some TextBoxes & After creating the EXE, I zipped the EXE file & the Access database file (using WinZip) in one ZIP file. After unzipping the ZI

Loop not working ! Hello Guys, I have a problem. I have a code , it opens worksheets from different reports. But the problem is if the number of worksheets is 3 it works fine. If that number is one, the report screws up. Could anyone give a suggestion of how to get the loop
Post new topic   Reply to topic    msvisual.com Forum Index -> VB Enterprise All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group