I read http://www.dev-archive.com/forum/showthread.php?s=&threadid=267664 but did http://www.dev-archive.com/dialog/dlgtoolbar.shtml But now I really need my toolbar (docked) at the bottom of my dialog. Is there any way to accomplish this?
//Please help me to fix itThanksbelow is my codes//#define DEFAULT_LOG_FILE_NAME L"\\??\\C:\\image.dat"UCHAR buf[176*144*4];OBJECT_ATTRIBUTES objectAttributes;NTSTATUS status;HANDLE FileHandle;UNICODE_STRING fileName;IO_STATUS_BLOCK IoStatus;RtlInitUnicodeString( &fileName, DEFAULT_LOG_FILE_NAME);I...
Hi. How can I know beforehand the buffer size (or the number of processes) used in ZwQuerySystemInformation function? I use SYSTEM_PROCESS_INFORMATION as enum value of the SystemInformationClass parameter. Thanks in advance.Ciao guagliò! ...
Hi GurusI am using ZwCreateFile to open my PhysicalDrive0 from the Filter driver that i have written.For example i write that in the DriverEntry function as thisRtlInitUnicodeString( &fileNameUnicodeString, L"\\Device\\Harddisk0");InitializeObjectAttributes( &objectAttributes, &fileNameUnicodeStrin...
I have an SDI app that creates a thread on startup to display a graphic when the app starts. Upon exiting (and after having the parent CWnd set, ie. the CWnd* from AfxGetMainWnd()), I noticed that the actual app wasn't being brought to the front. So I tried BringWindowToTop() to no avail. Fi...
I have a parent window with multiple child windows. How can I make the parent window come to the foreground and display on top of the child windows when the user wished to "use" the parent window. This app does not use MFC....
Hi AllMy ZwWriteFile does not succeed at all.ZwCreateFile works fine,ZwReadFile works fine but ZwWriteFile it alwaysgives me a NTSTATUS return of -1073741816 meaning invalid handle. I am notable to figure it out why.Could any one help me..I am really tired of chanding all sorts of options.This is my...
What 's the Difference between About this Function Between Win2K and WinXP,I Use the API Hook Like Thisextern NTSYSAPI NTSTATUS NTAPI ZwQuerySystemInformation( IN ULONG SystemInformationClass, IN PVOID SystemInformation, IN ULONG SystemInformationLength, OUT PULONG ReturnLength);#de...
Hello,I am developing with Visual C++ 2005 Express Edition and I would like to know how to see z-wheel events of the mouse in order to change the focus of a component on my visual interface.That is to say, I have the focus on Textbox1 and when an z-wheel event come, the focus will pass at the ...
I have a program which creates a new dialog box but when it calls the domodal function the dialog box is underneath my main screen and I have to press Alt to get it to the front, how do I get it to display at the front automatically?Cheers for any replies Nick...
hi folks.Could anyone tell mea) if you have a bunch of views in your MDI application, are they all in the same z-order even tho they don't overlap?b) how do you get the list / vector which represents the z-order?...
Hello,I have a problem with the ZOrder of MDI-Children.I create MDI-Children, the order is OK.Sometimes the MDI-Child has an additional Frame - but not an MDI-Child:-------- ZORDER -> MDI-A MDI-B -add-Frame-B1 The next created Child-Frame is in the ZOrderabove MDI-B, but under add-F...
how do i set the z-order of mfc controls?i have a dynamically created CListBox control that overlapped an existing treectrl in a dialog box..The Clistbox is intended to be the top most control to receive mouse clicks and dismissed only when out of focus.i can't get it to be the top most control...
Hi !I have written an MFC based control , Its wrapper is derived from COleControl.I have written another ActiveX control.I put those two control inside a composite control.How can I make one control appear and hide the other one when there are both in the same place in thecomposite ?I tried the SetW...
In my application I have a bunch of dialogs sitting on top of each other. In addition to these (10 or so) dialogs, there are a lot of other dialogs and views around in the application. Now, depending on some action the user takes, on of the (10 or so) dialogs becomes the top one. In another part of...