Display As A Top Windows

Dear helper,

    How to write code to display a window on top of every window but not top
most? I mean the equivalent to VB Code: formName.ZOrder

Thanks you.


0
dina_so (1)
9/15/2003 1:54:25 AM
vc.mfc 33608 articles. 0 followers. Follow

2 Replies
587 Views

Similar Articles

[PageSpeed] 18

>     How to write code to display a window on top of every window but not
> top most? I mean the equivalent to VB Code: formName.ZOrder...
SetWindowPos(wndNoTopMost, 0, 0, 0, 0, SWP_NOMOVE | SWP_NOSIZE); moves
window's to z-order above all non-top-most and below top-most...

May need to add other SWP_* flag check MSDN on the SetWindowPos() page...





0
bj7lewis (91)
9/15/2003 2:15:26 AM
SetWindowPos. I'm not sure how "on top of every window but not topmost" is to be
interpreted. Certainly "On top of any other window of this application but not topmost"
makes sense, and SetWindowPos will do that also.
						joe

On Mon, 15 Sep 2003 08:54:25 +0700, "Dina So" <dina_so@nida.gov.kh> wrote:

>Dear helper,
>
>    How to write code to display a window on top of every window but not top
>most? I mean the equivalent to VB Code: formName.ZOrder
>
>Thanks you.
>

Joseph M. Newcomer [MVP]
email: newcomer@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
0
newcomer (15975)
9/15/2003 5:30:41 AM
Reply:

Similar Artilces:

How to Hide Left Panel of Folder Window?
I'm well behind the Windows curve and I'm just now learning to use Windows XP Home. Up to now I've been using Windows 2000 Pro. On my XP desktop I have a shortcut to my music folder which containins my MP3 files. When I double click on the shortcut, a window opens on the desktop displaying the contents of my music folder. This window has a panel along the left side containing items like "File and Folder Tasks" and "Other Places." I can't figure out how to close, hide or otherwise delete this panel. This panel takes up a lot of prec...

Displaying MS Excel Chart control in ASP.NET Application
Hi, We are working on an ASP.NET (VB.NET) application. In one of th screens of our application, we need to show a graph and for this we ar using MS Excel Graph control. We have the graph prepared in Excel. Th application would feed in certain values into certain cells of th excel file and the graph would be drawn by the graph control based o these cells. We need some help on how exactly to display the excel graph contro directly on the screen of ASP.NET application. Thanks for the help oursm -- oursmp ...

New message opens up behind outlook window
Everytime I click new in my inbox to open a new message, the new message pops up behind the main oulook window. does anyone know how to make this stop? ...

Can't install windows updates on SBS 2003
I have a SBS 2003 server that has not been updated in a couple years. It has SP2 installed but when I run Microsoft Update it needs to download and install 96 updates. When I try to get them installed it comes back with an error saying not enough disk space. I have tried to just install 1 update at a time and get the same error. The C:\ drive has over 14GB of free space and the other drives have plenty of space as well. I restarted the server and also ran Disk Cleanup, as the error message reccomends, but am still having the same problem. Anyone run across this problem befo...

Outlook and Windows Integrated Authentication
Hello All, Does anyone know if Outlook (not OWA) can use Windows Integrated Authentication (like IE) to automatically log onto Intranet Web sites to retrieve graphics in HTML messages? Right now we get a logon dialog and have to manually log in. Thanks. if you paste the url into a browser, does it work as desired? -- Diane Poremsky [MVP - Outlook] Author, Teach Yourself Outlook 2003 in 24 Hours Coauthor, OneNote 2003 for Windows (Visual QuickStart Guide) Need Help with Common Tasks? http://www.outlook-tips.net/beginner/ Outlook 2007: http://www.slipstick.com/outlook/ol2007/ Outloo...

Integrating Great Plains 8.0 and CRM 1.2 and Windows Small Busines
Integrating Great Plains 8.0 and CRM 1.2 I run a Windows Small Business Server 2003 Premium box along with a Windows Server 2003 Standard box used for my Great Plains 8.0 and SQL 2000. I’m considering introducing CRM 1.2 Professional into the mix. From a hardware stand point I know I’m fine all around. I’ve been researching how I should configure CRM and am a bit confused. The info I’ve found in KB887153 states “When you install Microsoft Business Solutions CRM Integrations for Great Plains 7.0, 7.5, or 8.0, Microsoft BizTalk Server is also installed. However, BizTalk Server 2000 and B...

Top heavy fractions
I need a way of preventing Excel (2002 on Windows XP) from changing top heavy fractions (as in 6/4) to "normal" fractions (as in 1 1/2). We have three columns of fractions which need to be entered as "top heavy" and then a fourth column which is a calculation of the first three. As we have to perform a calculation on the fourth column we can not format the other columns as text (to prevent the changing from "6/4" to "1 1/2"). Any other suggestions would be appreciated. This might help a little: Format the columns to ###/### FROM FORMAT->SPECIAL...

Windows media player
Why does windows media player keep popping up? David wrote: > Why does windows media player keep popping up? OK, I give up. Why does Windows Media Player keep popping up ? How to ask a question http://support.microsoft.com/kb/555375 Windows Media Player General Discussion http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.windowsmedia.player&cat=en_US_44d7101f-71dd-4f9a-b6b9-45215557dd35&lang=en&cr=US MowGreen ================ *-343-* FDNY Never Forgotten ================ banthecheck.com "Security update...

Task Manager window only CPU
Vista Ultimate SP2 When I launch Windows Task Manager, only a CPU meter opens. When I right click icon in task bar, I only get Close & Always on top options. How do I restore task manager? Happy New Year -- ***************** John Lenz JohnLenz@comcast.net Double click on the white frame of the task manager window. That should do it. -- whs THX - it worked Happy New Year -- ***************** John Lenz JohnLenz@comcast.net "whs" <guest@unknown-email.com> wrote in message news:89eee91dbeee8173c55e0008be25b622@nntp-gateway....

Display Report Header/Footer
Can somebody please give me the telephone number of the smartass MS VP who came up with the bright idea for the Ribbon so that I can call her and have her tell me how to display the Report Header & Footer in a report? Obviously, I must be an idiot because I can't figure out how to do it with this simplied, intuitive, help-ya out m***** fu***** ribbon. Oh stupid me, its under 'ARRANGE'. How idiotic of me to think that it'd under 'DESIGN' since I'm 'designing' a report as opposed to 'arrangeing' a report. "microsoft"...

URGENT: WINDOWS 8 ANNOUNCEMENT for July 2011!
Think Windows7 just came out & too young? Welcome to the brave future: Windows8! 1) Windows 8 To Contain New Anti-Ha*king Software (antipir*cy). Some may consider anti-pir*cy measures similar to whistling in the wind, but that's certainly not the case. George has posts in Windows7NewsDOTcom, and ConnectedInternet showing how in many cases Microsoft has foiled anti-pir*cy efforts. Many believe that piracy is relegated to just illegal copying or theft. But that is not the case. V*rus distribution and embedded malw*re, and privacy intrusion are typical features that result from...

email address on Service Call Entry window
Add an email address field to the Service Call Entry window for the customer contact on the service call. Even if it is not pulled from the email address of the address id on the service call, at least the dispatcher could enter an email address on the service call in order to communicate with the customer regarding the call. It is common to take email address as part of contact information. ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the m...

Can Outlook 2003 use MSN Messenger INSTEAD of Windows Messenger?
I didn't get an answer to this question last week so I'm re-posting... I recently purchased a new computer (Windows XP Home Edition w/SP2) and loaded up all of the available updates to the OS, Internet Explorer, etc. Next, I installed Office 2003 Professional. I disabled Messenger integration with Outlook 2003 as discussed in other posts here. Next I installed MSN Messenger 6.2 and it seemed to run properly as a stand-alone application. So I re-enabled Messenger integration on Outlook 2003. The next time I booted up and ran Outlook, the Messenger icon appeared in the taskbar...

Windows Update Office 2007 Converter confusion
On my desktop I have Office 2003 (laptop has Office 2007). I recently received an attachment in .docx format (2007). I downloaded the converter to my desktop and opened the document. Now on my desktop (which has Office 2003) I receive update notices for Office 2007. Should I ignore these? Hide them? Install them? Will I still be notified re updates needed for Office 2003? Thank you for whatever insight you can provide. If you can give me some of the background explanation as to why this is happening (I presume related to the 2007 converter viewer install), I can understand bett...

Windows XP SP2
Has anyone else noticed that after installed Windows XP SP2, emails in Outlook sit in the Outbox for several "noticable" seconds before sending. Sam <anonymous@discussions.microsoft.com> wrote: > Has anyone else noticed that after installed Windows XP > SP2, emails in Outlook sit in the Outbox for > several "noticable" seconds before sending. I believe I saw this documented on the Microsoft web site. -- Brian Tillman ...

OWA Premium Client Not Displaying Correctly
Hello, I wonder whether anyone has seen this problem before because i would really appreciate any help on this one please. I have six Exchange 2003 servers in my organisation and there are two Exchange servers in three sites. Four of the Exchange servers are running Windows Server 2003 and Exchange Server 2003 [With Exchange SP1]. The front-end server is running Windows Server 2003 SP1 and Exchange Server 2003 SP2. Users with mailboxes on those four Back-End Exchange servers do not have any problems using OWA. The two Exchange servers on my site are using Windows Server 2003 SP1 with Exc...

Office 2007 on Windows 7
I just purchased a new laptop with Windows 7. I also purchased Office 2007 but I notice that Windows 7 is not shown on the Office package. Can I install Office 2007 without any propblems? Answered your first posting. apensa wrote: > I just purchased a new laptop with Windows 7. I also purchased Office 2007 > but I notice that Windows 7 is not shown on the Office package. Can I > install Office 2007 without any propblems? ...

Volume License copy of Windows Server
Gurus, Is there anyway anymore to get a full Volume License copy of Windows Server (e.g., version 2008) which does NOT require Internet activation? -- Spin Start with Vista/Windows 2008, your options to activate are by Internet or Phone. I believe the command that kicks it off is: slui.exe 4 "Spin" <Spin@invalid.com> wrote in message news:84nk89Far1U1@mid.individual.net... > Gurus, > > Is there anyway anymore to get a full Volume License copy of Windows > Server (e.g., version 2008) which does NOT require Internet activation? > ...

Can we get newsgroups with Windows Live Mail?
Currently we have WindowsXP, SP3, OE. How will Windows7 get newsgroups? Will these be part of "Windows Live Mail" as they are in OE? Please help, Frank Newsgroups work virtually the same in WLMail as they do in OE. -- Bruce Hagen MS-MVP [Mail] Imperial Beach, CA "Frank Martin" <fm@general.com.au> wrote in message news:uybUM2d2KHA.2284@TK2MSFTNGP06.phx.gbl... > Currently we have WindowsXP, SP3, OE. > > How will Windows7 get newsgroups? Will these be part of "Windows Live > Mail" as they ...

Outlook 2007 in Windows 7
I've installed Office 2007 in Windows 7. Then I installed Lotus Notes 8.5 as my default mail client. After that I opened Outlook 2007 then it prompted to set Outlook 2007 as the default and I clicked Yes. But still the HKEY_CLASSES_ROOT\mailto\shell\open\command value is LotuNotes exe destination. What is the reason for this. But if I use <a href="mailto:dummymail@dum.edu">send mail</a> tag in my HTML page it opens Outlook 2007 new mail window. How does the mailto protocol identifies the default mail client and open the new mail window? Pls someo...

link file from virtual windows xp to access 2007 on windows 7 plat
I am trying to link a paradox db file to access 2007 db. The paradox file resides on a virtual windows xp platform within the windows 7 platform of the physical machine. How do I map this field into access? -- cblackman ...

about treeview in view window
hi I am trying to display treeview in view window.But unable to do that. When we call CTreeCtrl &tree=GetTreeCtrl(); it is giving error that GetTreeCtrl is undeclared idenifier.So any one can tell ,how i have done this. I don't want to use App Wizard step 6 Base Class TreeView Class. Arbind your view window should be a CTreeView,GetTreeCtrl() is the member function of CTreeView,but not CView. "Arbind" <arbindb_tech@rediffmail.com> wrote in message news:OOePU1iXDHA.1644@TK2MSFTNGP10.phx.gbl... > hi > > I am trying to display treevi...

display result of formula
How do I make a cell which contains a formula display the result of that calculation rather than the formula (it is formatted as "number" and I have tried "recalculating") Peter Peter Chadbund expressed precisely : > How do I make a cell which contains a formula display the result of that > calculation rather than the formula (it is formatted as "number" and I have > tried "recalculating") > Peter Change the cell format to 'General'. Redo the formula. Change the cell format to 'Number' and apply your display preferenc...

Display all messages?
Is there a way in Outlook 2002 to display all messages from all folders in one list? We have managed to end up with duplicate messages in multiple folders, and the best way to clear them out would be to see all messages together in one list sorted by subject or author. I can do that where I work with Lotus Notes, and I hope I can do that with Outlook, but I haven't found it. Thanks, Jack Jack B <jbruss@wi.rr.com> wrote: > Is there a way in Outlook 2002 to display all messages from all > folders in one list? We have managed to end up with duplicate > messages i...

How come an HTML image won't display?
The image in the following HTML paragraph will display a logo for most people her. But for one person, she just gets a red-x. This happens only very intermittently. She can usually see images OK. <p class=MsoNormal><font size=3 color="#1f497d" face="Times New Roman"><span style='font-size:12.0pt;color:#1F497D'><img width=275 height=92 id="Picture_x005f_x005f_x005f_x005f_x005f_x005f_x005f_x0020_1" src="cid:image001.jpg@01C99288.6B9B30B0" alt="KTB_usa_Megatron_logo_RGB"></span></font><span class...