modeless message window in a regular dll?

Hello community,

I have written a regular dll that should just show a status window.
The problem is that I have no control over the application calling the
dll. The application should not be aware of the status window. The
window should just be modeless (it shouldn't block *any* application
GUI) and it should show a status message. If possible, it should have
a Close button. 
The dll uses a worker thread for requests from the application and it
uses a UI thread for socket operations. Note that I use MFC in the dll
(which could make it more comfortable to create the window - or - on
the other hand - more problematic, I don't know).

I have searched for a solution on this. All I have found is that it
seems very problematic to create such a window. I understand that I
need a message pump for handling the window. Can/Should I use the UI
thread message pump for this? Do I need a HWND of the application
(which I don't have)? Sorry for the dumb questions, but I am new to
this stuff.

Any pointers on how to do this in a clean way would be appreciated.

Best regards


6/30/2003 10:45:13 AM
vc.mfc 33608 articles. 0 followers. Follow

0 Replies

Similar Articles

[PageSpeed] 10


Similar Artilces:

option "send picture with messages"
Hi ... where can i find the "send picture with messages" option in MS Oulook 2007 ? in Outlook Express you can find this option send picture with messages" in Tools -> Option -> Send -> HTML Settings -> send picture with messages option .... BUT in Oulook 2007 i couldn't find it .. so canyou please where can find it .. Thank You That is a registry only option now. See -- Robert Sparnaaij [MVP-Outlook] Coauthor, Configuring Microsoft Outlook 2003 Outlook FAQ, HowTo, Downl...

Today I' ve installed EXBPA (best practices analyzer /italian version) and I've performed all the tests. I can not resolve an error about MSEXCHANGEIS performance counter (mdbperf.dll). I've read instructions for this and I've enabled the counter using exctrlst.exe. The error doesn't disappear even if I've restarted the service. Before to newly install exchange in repair mode (It's too dangerous !!!) I ask for help. My server is Exchange 2003 Std. SP2 (SBS 2003 Pre SP1) italian version. If I use perfmon.msc I can add all performance counters of MSEXCHANGEIS ! ...

moving messages from outlook express to outlook
I am trying to move messages from outlook express version 6 to outlook 2003. When I export from outlook express, there is no indication where the export file is stored. Is there a way to move messages or will I have to email them to myself? Thanks ...

C00D11B3 error message
I have been using Media player for years, now have ver. 11, in the past two day, I have had a problem if I go to player and play some music stored on the hard drive, it works. I f I attempt to play something on the internet I get the error and then it won't play anything until I reboot the system. I thought it was a firewall issue, but can't figure out what it would be. I also have checked connect to the internet override, without success. I have recently changed routers to a linksys with Network Magic set to basic. I have no idea what is causing the issue. -- J P...

Overrides vs. Messages
Hi I have a basic question about MFC. There are 4 sections in Properties windows -Properties -Events -Messages -Overrides For example: For CView class OnDraw is in overrides section. But OnDrawItem is in messages section. Why is it so? Some methods are in mesages section(handle with message map) some are virtual. What is the logic behind this separation? Thank you. In a nutshell, the override section give you access to the virtual function of that class, and the messages sections give you access to the messages that are not already mapped to a virtual function in that class. I hope that ...

Messages not delivered to another Routing Group HELP NEEDED
I have three routing groups ( exchange in the 3 of them are Exch 2k sp3 ). Mail from one server ( in my headquarter routing group ) to another ( in one branch office routing group ) is getting stucked in MESSAGES WITH UNREACHABLE DESTINATION and not routed to that server. Connectors seems to be working just fine. After add my other exchange server from my headqurter group to the connector to be albe to send mail it shows the queue now in the connector but does not sends anything. Otherwise, mail from my branch office to my headquarter correctly sends mail. Any help would be gre...

OL2007, messages don't always close after sending
Let's say I've just finished a spreadsheet and I want to send it to someone. I'll click the big Office button and choose Send -> Email, and up pops a new email message with my spreadsheet attached. All fine so far until I click the Send button (or Alt-S, or Ctrl-Enter, doesn't matter which). The message appears in the Outbox and Outlook will send it, but it also stays open in front of Excel until I click the Close button. I can still make further edits to my workbook, but the email message is in the way and I can't see what I'm doing, until I manually close...

Windows Mail
When I try and send mail using windows mail (vista) I get this message I contacted comcast changes all ports etc and no luck. Also when I used to use outlook express and when to file I could change the identity there. I can't seen to find out how and both my email and wifes is going to the same inbox I hope someone has a suggestion. thanks Arthur The message could not be sent. The authentication setting might not be correct for your outgoing e-mail [SMTP] server. For help solving this problem, go to Help, search for "Troubleshoot Windows Mail", and re...

WindowProc: combobox messages problem
In my CControlBar I have overridden the virtual WindowProc. The combobox on the controlbar displays correct and behaves well in runtime. Now, I spent a couple of hours trying to get some messages that I need, using WindowProc. This is needed because CControlBar will pass everything on to the controlbar owner, and that's not what I want. WindowProc is my way to intercept those messages. I already found out that the messages are, ehm, weird: their numbers do not match on related defines in winuser.h. To give an example: WM_COMMAND, 0x0003 functions as a WM_SETFOCUS. But WM_SETFOCUS is def...

Viewing messages #2
When I get e-mail and try to view the messages, they never come up. Can someone help me? Not yet. State your Outlook version, the type of mail transport you are using, whether you are using a preview pane or opening the message, etc. --� Milly Staples [MVP - Outlook] Post all replies to the group to keep the discussion intact. Due to the (insert latest virus name here) virus, all mail sent to my personal account will be deleted without reading. After searching and finding no answer, Wleef33 asked: | When I get e-mail and try to view the messages, they | never come ...

Import Messages from Outlook Express 6
Hi, I would like some advice on importing messages that are currently on a Win98se machine running OE 6 into an XP Pro machine running Outlook 2003, Thanks, any help greatly appriciated, Ed <> wrote in message news:5c9c01c3e5bb$834ea400$a001280a@phx.gbl... > Hi, > I would like some advice on importing messages that are > currently on a Win98se machine running OE 6 into an XP > Pro machine running Outlook 2003, > Thanks, any help greatly appriciated, > Ed Go here to backup your old OE:

Message tracking not work on XP SP2
Message tracking is not working on Windows XP SP2. I've tried System Manager 2000 and 2003 with the same result. Message searching will started, but is still running without result. After uninstalling SP2 it's working fine! On Wed, 19 Oct 2005 05:26:05 -0700, Pol <> wrote: >Message tracking is not working on Windows XP SP2. I've tried System Manager >2000 and 2003 with the same result. Message searching will started, but is >still running without result. After uninstalling SP2 it's working fine! Your workstation needs to be abl...

certin messages block POP download.
Hi all, I have an Exchange 2003 server with @ 300 users with many virtual domains. Problem I have is that one domain in particular has certin messages getting stuck while downloading and have to be cleared in Webmail in order to free the mailbox. They mainly seem to be HTML messages but there have been two text ones from another Virtual Domain. I am stumped. I get no errors in the logs and have turned on diagnostics logging to watch whan it is happening and do not see anything. I have elimantated Outlook by trying Outlook Express at the same thing happens. They get sometimes as many a...

Weird black screen when responding to message
Hi All, The title says it all really. I've recently started to get a black screen with coloured type when I reply to messages. Invariably the screen goes back to white with whatever colour type is applicable to a string of messages but sometimes I have to hit send with it showing coloured text on black. When the message arrives at the other end the colour is correct. More oddly, this doesn't happen on all messages but is beginning to become more frequent. I've run a couple of spyware progs and Norton anti virus etc. so don't think its anything nasty behind it. So over to...

Sorting messages by sender
I've recently changed from using Outlook 2003 on an old Celeron PC running Win 2k, to a new P4 machine with XP. On the old set-up, I could click on the 'From' column header to sort messages in a mail folder by sender, then start typing the name of the sender to quickly take me to the messages from that person. This was very useful and I used this feature regularly, although it only seemed to work for the first three characters of the name, the fourth character entered would then take the cursor to the first instance of a name beginning with this letter. This was fine as the firs...

Multiple messages
Hi I am receiving the same messages a number of times to my outlook express mail box. Sometimes I have 5 or 6 of the same message. Does anyone know why this is, or how I can stop it? Thanks very much Try posting this in an Outlook Express news group - this is not one of them. Outlook is a part of Microsoft Office and is what this group supports. Outlook Express is a part of Internet Explorer and has its own news groups. You can also find some good Outlook Express information here: --� Milly Staples [MVP - Outlook] Post all replies to the group...

Intelligent Message Filtering
Hi All, Just to say what a good product IMF is. All my Junk-Mail is archived in a local queue. My dream become true ! No more wasted time in explaining what a SPAM is...... Diego P Castro MCSE-MCSA-SPS8 Brasil ...

Error Message 0x8007007F
Clip organizer keeps giving this error message when opened: Error Message 0x8007007F It will not open or insert pictures!!! Would appreciate any and all help -- Mary Sauer MS MVP news:// "BJ" <> wrote in message news:38ec01c42980$ce5312c0$a301280a@phx.gbl... > Clip organizer keeps giving this error message when > opened: > > Error Message 0x8007007F > > It will not open or insert pictu...

Outlook does not refresh imap inbox when message is deleted on ser
I have Outlook set up to use imap on two computers as well as my Palm. The problem is that messages deleted from the server will not dissappear in Outlook as long as Outlook is running. If if restart Outlook the imap inbox is updated correctly. I thougt Microsoft had solved this problem between Outlook 2000 and 2003, but obviously not. Is there a solution? You will need to manually purge the items using Edit->Purge. (I think it is on the Edit menu - I despise IMAP so I don't have a current setup to check.) --� Milly Staples [MVP - Outlook] Post all replies to the group to keep ...

Error message #3
Hi, everyone, I open to MS Excel 97, the following error messages was shown on screen. 26146100: file format is not valid. Please help Thanks Jimmy Something that is being opened is causing trouble. It could be an addin checked in Tools|Addins or a file in your XLStart folder (or if you are using tools|options|General|"Alternate Startup File location", it could be in there.) (Not many use the alternate startup file location, so try erasing that value from that box in excel--don't delete the real folder. If that fixed it, you're done.) If not, your task will be to...

Error message 0x800ccc13 #4
Does anyone know what error message #0x800ccc13 means. I get it when I hit the sned/receive button. I can send email through Outlook 2000 but I can't receive anything. The message says that a TCP/IP error occured while trying to send data to the serever. All of my server set up info appears correct. I appreciate any answers ...

Archiving of Windows Live Mail
Can someone please point me to a procedure that will explain how to off load a bunch of emails that I want to keep but do not want in the active WLM folders. Seems like in the Outlook Express days there was a way but I have long since forgot what I did. Help appreciated. You could create a folder(s) on the Desktop and just drag messages into it. -- Bruce Hagen MS-MVP [Mail] Imperial Beach, CA "Ken" <> wrote in message > Can someone please poin...

How do I restore the cell content window on my toobar?
tools options view ........formula bar -- Greetings from New Zealand Bill K "hutchc" <> wrote in message > From the View menu, choose Formula Bar hutchc wrote: -- Debra Dalgleish Excel FAQ, Tips & Book List ...

Windows XP
I have a windows xp sp3 machine where there free space goes down to a fixed amount after a reset. Let me explain: I boot the machine (a 40GB HD divided in a 36GB and a 4GB partition), The 4GB partition shows only 600MB free, I run CHKDSK /F D: and it fixes the free space to 2 GB, I reset and it goes back to 600. The same situation is for the 36GB partition where it shows 4GB free but if I boot to the Recovery Console and run chkdsk c: /p it fixes the free space to 18GB but as soon as I reset the free space goes back to 4GB, so the same thing happens if chkdsk runs at boot. Win...

Exchange 5.5 in Windows 2000 Domain
HI I am looking for any advise I can get on this subject, or any references you may have. Basically I have an NT4 PDC that currently has Exchange 5.5 installed on it. I have a windows 2000 Database server that is just a member server of hte domain. My NT4 machine is running out of space, so I am getting a new server for exchange. I will install Windows 2000 on this server and then follow the Ed Crowley Server Move method, to move my exchange server over to this new machine. I am comfortable with this. I have just now installed an NT4 BDC into the domain (it is only a very old machine so it ...