|
Can some one point me to , a conpletes list of Windows messages , i.e WM_CLOSE , or CPL_DLUBLECLICK
you can send me the link at :
aamir@signalcommunications.com.au
Aamir
|
|
|
|
|
|
Hi all,
Kindly suggest me an efficient way of handling rowsets in SQL CE. My dialog class is bit heavy and I am using the IRowset interface for SQLCE data retrieval. The application hangs when it reaches this method after few test runs. Not able to find where does the problem lie. Please suggest me the necessary resolution.
Thanks in advance,
Mallee
|
|
|
|
|
Hi all,
just wanting to know if it is possible to write code for a new rule or something of that nature that allows me to capture an email coming into my home email, and then parse and retrive data out of it?
I am looking at "Creating a Rule" in "Platform SDK: Exchange Server" but i'm not sure if that will help me, and I would like to use C++ (.Net.. only if absolutely forced to)
thanx
|
|
|
|
|
I was adding some XP flavor to my app so I can get double buffering on my listviews, and what I found out is if I have the manifest file in the directory with the program, it crashes. Without it, it don't.
So I then try to debug the sucker and noticed that WM_INITDIALOG does *NOT* get called first!
WM_NOTIFY and WM_COMMAND are being called first, and crashing.
Can anyone tell me why windows is doing this? I thought WM_INITDIALOG is supposed to ALWAYS be called first! It *IS* always called first without the manifest file though.
I am not using any windows per se, just a Dialog to do all my work.
I then added some code to basically check if WM_INITDIALOG is called, and if not, I return TRUE. What do you know, now my app works fine with all the XP flavored features. I just can't understand WHY it is doing this!
Anyone shed some light on this?
Thanks!
|
|
|
|
|
I`ve been building a program. it runs well in the debug setting, but in the release version, it will bring out an error " could not write to address memory ......". I think it`s the OS. I use win 2000 pro. Any idea?
|
|
|
|
|
|
Hi,
This is a really basic question, but for the life of me, I can't figure it out. I have an MFC dialog app that I could like to determine if it has input focus. I've tried things like GetTopLevelWindow, GetActiveWindow, and compared them to m_hWnd, but the case is never true, what should I try?
Thanks,
Aaron
modified 12-Jul-20 21:01pm.
|
|
|
|
|
GetFocus() ?
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
I think that works alright for my purposes.
Thanks
modified 12-Jul-20 21:01pm.
|
|
|
|
|
Hi all
I'm trying to create a simple web application with hyperlink. Please take a look at this sample.
http://msdn.microsoft.com/msdnmag/issues/03/09/net/default.aspx
What I'm trying to do is to copy the way Microsoft represents their hyperlinks (look at ones with figures).
I know how to create those hyperlinks with Javascript but I don't know with asp.net I would like to know if there are any sample codes can help me to do that
Thanks
|
|
|
|
|
Im in a property page. If the user clicks a button, how
can I make it go to another property page? I try using
the SetActivePage() command, but I always get unhandled
exemption error right here:
BOOL CPropertySheet::SetActivePage(int nPage)
{
-->> if (m_hWnd == NULL)
{
GetPropSheetHeader()->nStartPage = nPage;
return TRUE;
}
return (BOOL)SendMessage(PSM_SETCURSEL, nPage);
}
Any ideas? Please any response any one can give me will
be greatly appreciated.
Sincerely,
Danielle (an overworked graduate student)
|
|
|
|
|
DanYELL wrote:
If the user clicks a button...
What does the button-click handler look like?
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
Sometimes sending a message gets it into the queue a little too early.
You might also try
PostMessage(PSM_SETCURSEL, nPage);
return TRUE;
and see if the page switches successfully AFTER your button press is handled.
|
|
|
|
|
Blake Miller wrote:
Sometimes sending a message gets it into the queue a little too early.
Sending a message bypasses the queue altogether and uses the windows procedure directly.
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
I'm sure this must be easy, but I haven't hit upon the magic MSDN incantation to get what I want.
I have a simple ATL/MFC (VS.NET 2003) dialog. I want to put up the equivalent of a multiline edit control, but pass in HTML source, and have it displayed formatted.
I have no need to "edit" the HTML, or run any scripts, or any of that stuff. The HTML is stuff I generate which is mostly simple fonts/colors, etc. Right now I launch a browser passing in a temporary .HTM file, but I'd prefer to do this in a dialog (along with some other unrelated controls). The key is *simple*.
Can anybody point to some sample code that does this?
Thanx;
Brad.
|
|
|
|
|
|
That was quick!
Thanks for the pointers. I'll play with both those and see what works best without a huge code overhead.
Brad.
|
|
|
|
|
Michael Dunn wrote:
MFC has the CDHtmlDialog class...
This must be a .NET-specific thing. Yes?
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
How can I make windows monitor a certain directory and not open it. To dissalow it and all of it's programs inside it!
gabby
|
|
|
|
|
Why do you want to do this?
Ryan "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
|
|
|
|
|
I want to build a firewall.
check the one I've done until now. It is on codeproject
gabby
|
|
|
|
|
Is the folder on an NTFS volume?
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|
|
yes it is on NTSF volume.
But if you can help me on FAT as well please tell me. I want to build a firewall.
Please if you want you can check the one I've poetd as article
I want a better one
gabby
|
|
|
|
|
Check out MSDN articles Q279682 and Q285998 for examples. They are VB, but easy enough to port over to C++.
Here are a few C++ examples, too:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ad/ad/example_code_for_checking_for_a_control_access_right_in_an_ace.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ad/ad/example_code_for_setting_an_ace_on_a_directory_object.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ad/ad/example_code_for_setting_a_control_access_right_ace.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msmq/msmq_using_queue_security_850z.asp
"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen
|
|
|
|