Click here to Skip to main content
15,916,683 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: RegQueryValueEx Pin
Sir.Ixildore22-Jun-04 20:38
Sir.Ixildore22-Jun-04 20:38 
QuestionHow to change caption of a button on a property page? Pin
Rajesh_K_Sharma22-Jun-04 19:29
Rajesh_K_Sharma22-Jun-04 19:29 
AnswerRe: How to change caption of a button on a property page? Pin
Antony M Kancidrowski22-Jun-04 23:34
Antony M Kancidrowski22-Jun-04 23:34 
Generalalert messages Pin
ask_you22-Jun-04 19:12
ask_you22-Jun-04 19:12 
GeneralRe: alert messages Pin
bneacetp22-Jun-04 19:23
bneacetp22-Jun-04 19:23 
GeneralRe: alert messages Pin
ask_you22-Jun-04 19:46
ask_you22-Jun-04 19:46 
GeneralRe: alert messages Pin
bneacetp22-Jun-04 19:47
bneacetp22-Jun-04 19:47 
GeneralRe: alert messages Pin
ask_you22-Jun-04 22:26
ask_you22-Jun-04 22:26 
i tried the the link that u had sent...
i.e. http://www.codeproject.com/dialog/statusbarmsgwnd.asp

well, i went through the code and tried to include it in my application. first i just included the stuff in the initdialog function to check whether it works.. well,to my pleasure, it worked. but then when i tried porting it to the actual location, it failed. i have created a thread in the application and want to call the code within the application. but when i do so, the application fails...it exits forcibly...

a portion of the code is shown below:

DWORD WINAPI CDlg::TestThread1(LPVOID lpParam)
{
CDlg* pThis = (CDlg*)lpParam;
while(1)
{
if(pThis->m_hCommEvent1)
{
WaitForSingleObject(pThis->m_hCommEvent1, INFINITE);
CStatusBarMsgWnd* t_MsgWnd =
StatusBarMsgWnd::CreateObject(
_T("Some idiot has signed in !!"),180, 150, 4000,10,CRect(30, 30, 130, 110),pThis);
t_MsgWnd->PopMsg();
}
}
}

Can u suggest wat modifications should i do...

GeneralRe: alert messages Pin
jmkhael23-Jun-04 1:35
jmkhael23-Jun-04 1:35 
GeneralRe: alert messages Pin
ask_you23-Jun-04 17:27
ask_you23-Jun-04 17:27 
QuestionHow to packaged an MFC project? Pin
ngocdq22-Jun-04 17:59
ngocdq22-Jun-04 17:59 
AnswerRe: How to packaged an MFC project? Pin
bneacetp22-Jun-04 18:13
bneacetp22-Jun-04 18:13 
AnswerRe: How to packaged an MFC project? Pin
Anthony_Yio22-Jun-04 23:56
Anthony_Yio22-Jun-04 23:56 
Generalfunction to set the combobox visible Pin
ask_you22-Jun-04 17:54
ask_you22-Jun-04 17:54 
GeneralRe: function to set the combobox visible Pin
bneacetp22-Jun-04 18:06
bneacetp22-Jun-04 18:06 
GeneralRe: function to set the combobox visible Pin
ask_you22-Jun-04 18:21
ask_you22-Jun-04 18:21 
GeneralRe: function to set the combobox visible Pin
bneacetp22-Jun-04 18:26
bneacetp22-Jun-04 18:26 
GeneralGray Bitmap Pin
Shuang. Wu22-Jun-04 16:45
Shuang. Wu22-Jun-04 16:45 
Questionalert when other computer (on our Local Area Networck) Explorering our computer ??? Pin
ngocdq22-Jun-04 16:42
ngocdq22-Jun-04 16:42 
Generalmail server Pin
gamitech22-Jun-04 13:48
gamitech22-Jun-04 13:48 
GeneralRe: mail server Pin
Muthukumar22-Jun-04 18:13
Muthukumar22-Jun-04 18:13 
GeneralRe: mail server Pin
Anonymous22-Jun-04 19:23
Anonymous22-Jun-04 19:23 
GeneralRe: mail server Pin
Paul Ranson23-Jun-04 5:05
Paul Ranson23-Jun-04 5:05 
GeneralHyperlink Pin
x-trate22-Jun-04 13:18
x-trate22-Jun-04 13:18 
GeneralRe: Hyperlink Pin
Graham Bradshaw22-Jun-04 14:13
Graham Bradshaw22-Jun-04 14:13 

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.