Hi to all.
I have a CTabCtrl on my CDialog containing two tabs, I've added two dialog window (style child, border none) to those tabs. When my second tab is selected (shows second wnd) a resizing mark is shown on right bottom corner. This is not happening with first tab. How cam I remove that mark?
I don't want to have resizing option, the tab rectangle is sufficient to hold the biggest dialog size.
Hope I've made myself clear, and thanks in advance.
I'll try to explain again in hope of yours help.
one of my tabs contains an CDialog based window (myDlg), the problem is when tab is selected (shown) a myDlg window is shoving a resizing triangle in right down corner (also when resizing myDlg goes blank white ). How can I remove that triangle, myDlg is created with child style and border: none
When an executable is 'killed' from task manager (by choosing "End Process"), the process will die abruptly and silently. I don't think there's a chance given to the process itself to execute any code in such a case. This is by design.
If the user tries to close your app from the task manager on the Applications page (End Task), you can handle that by catching the WM_CLOSE message. However, it the user kills your app from the Processes page (End Process), then you're probably out of luck.
I run a application uses command line. After running, it provides a monitor console for interacting with it. It also takes a command to intract i.e CTRL-ALT-2. How I can give this command through any other method. My mean to say using programming, How could I do that?
I need to export some Registry Keys in HKCU in my application, so I simply make a call to regedit and user commandlineparameters /s /e to export these keys to a file. This used to work fine, but under Windows 7, everytime I call regedit I get an annoying message from UAC asking the user to allow this (in my eyes really uncritical) action.
Do you have any suggestion how I can easily export a whole registry key to a reg-file, without getting a UAC warning?
You need to elevated privileges to run <code>regedit.exe</code>.
So you either select allow from the UAC prompt or run <code>regedit.exe</code> from an elevated process.
For example, if you run <code>cmd.exe</code> in elevated mode and then run <code>regedit.exe</code> from this command prompt you will not be asked whether to allow or deny.
«_Superman_» I love work. It gives me something to do between weekends.