General Programming Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingGeneral Programming Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old May 6th, 2003, 09:48 AM
amdarden amdarden is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Posts: 5 amdarden User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Making a dialog topmost

This is for a bunch of restaurant managers who we can't trust to give them system functions like task manager and task switching. They might accidently take down the server or stop a process like the credit card processing application. The system runs a managing menu application all the time. We have users launching a report application that has a pick list and when they go make their selection they are accidently clicking on the managing application and because they can't task switch, they can't get back to the report. Then they try to run the report again and it gives them errors bacause the application is already running. At that point the only thing they can do is logoff and start over. There is a cancel button on the pick list if they want to cancel the application. My question is, I know there is a way to make a dialog box topmost, but my code doesn't seem to do this. Here's my code.

cReportDialog.DoModal();
SetWindowPos(cReportDialog,WS_EX_TOPMOST,0,0,0,0,S WP_NOMOVE);

Can anybody tell me what I'm doing wrong?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingGeneral Programming Help > Making a dialog topmost


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT