Search:
Type: Posts; User: Dietmar
Search:
Search took 0.08 seconds.
-
August 13th, 2003, 06:11 AM
Can anybody tell me how to...
a) ...set the timeout for mapping network drives using WNetAddConnection2()?
b) ...kill the connection process before timeout?
-
July 16th, 2003, 08:43 AM
Thank you, it works.
Here is my code:
void CNetworkDlg::OnMouseMove(UINT nFlags, CPoint point)
{
...
POINT pt = point;
ClientToScreen(&pt);
-
July 16th, 2003, 03:45 AM
There is a good article in Codeguru about Drag & Drop in a tree view control:
http://www.codeguru.com/treeview/drag_drop.shtml
But I want to limit the drag operation to my tree control area.
How...
-
Yeah, this does the trick!
I have no idea why I was too stupid to see that before.
Now we're both happy I guess. :)
-
I tried to process WM_ACTIVATE but it doesn't work. I put a Beep() into my overriden OnPaint() to see if I had produced an infinite loop. I didn't. I am quite happy with my solution now but I am...
-
@Sam:
I feel sorry that we talked at cross-purposes.
My problem was not about clicking on tabs.
@Everybody:
However, now I found out that the solution is much easier.
I just had to override...
-
Well, there must be some misunderstanding here.
OnSelchangingTab and OnSelchangeTab apply to the tab control's parent window - my main dialog.
They get called when you change the tab page, but not...
-
I don't get the point from your code, Sam.
An example:
1. My app is running, my tab page and my embedded list control are visible
2. I click on the taskbar to pop up another program (let's say...
-
Thanks to "real name" for that codeproject link, which helped my to find a solution.
Any comments are appreciated.
I created my own class "CTabCtrlEx", derived from CTabControl.
CTabCtrlEx has...
-
Actually the program consists of three dialogs, all created by the ressource editor.
The main dialog contains the tab control. The other two dialogs are the tab pages.
On these two dialogs (tab...
-
I use a tab control (CTabCtrl) in my dialog based MFC application .
On one of the tab pages (CDlg) I have placed a list control (CListCtrl).
My problem is that this list control doesn't get...
-
FindWindow() is somehow working with the parameter CabinetWClass instead of ExploreWClass. But I am not satisfied with this solution because it is not guaranteed that "C:\" is the window title or...
-
Hello out there,
I use CreateProcess() to start the windows file explorer. Now I would like the explorer to occupy exactly the right half side of the screen. Unfortunately the STARTUPINFO members...
-
February 26th, 2003, 10:02 AM
Come on, guys.
I can't believe that really nobody ever tried to catch a right-doubleclick on a tree control.
-
February 25th, 2003, 07:50 AM
The class wizard offers a message handler for the NM_RDBLCLK notification, but this function "OnRdblclkTree" is never called whatever I do.
A spy on my tree control showed me that a right...
-
November 15th, 2001, 05:28 AM
Hi.
I would like to display a modeless "busy-dialog" when my main thread is calculating.
Therefore I start a worker thread:
...
// Start thread to show busy-dialog...
-
October 5th, 2001, 08:00 AM
Hello,
is there any place I can put some code
(in a dialog based MFC application)
that executes automatically AFTER my
dialog appears?
Normally an application starts and waits
e.g. for a...
-
June 29th, 2001, 11:09 AM
Do you mean this?
WaitForSingleObject
(hHandle, // = hProcess from struct PROCESS_INFORMATION
timeout);
In Win98 the DOS box is still visible after termination.
Does this work anyway?
-
June 29th, 2001, 10:49 AM
Hello.
I want to write a windows frontend for a DOS tool.
So I call the DOS app and the DOS box pops up.
Then I have to wait until it has finished
before I can proceed. But how do I know?
...
-
June 28th, 2001, 04:16 AM
Hello,
I call a DOS program from my MFC application under WinNT.
How can I prevent that the DOS window automatically disappears when finished?
The problem is that my DOS program does
not work...
-
Yes, you can do:
ShowWindow(SW_HIDE) on the button.
But then the button is gone!
It should still work.
-
Hello.
I want to hide a button behind a bitmap.
The tab order determines whether the bitmap covers
the button or vice versa at program start.
But when I click the bitmap then the hidden...
-
November 28th, 2000, 08:42 AM
Good try, but doesn´t work.
Actually it does nothing at all.
Although I understand that it should...
-
November 28th, 2000, 07:28 AM
Hello,
I would like to display search results of a phonebook in a list view control (report style).
When my search string starts with an alphabetical char, the colums should be
"Name" (sorted)...
-
October 25th, 2000, 08:36 AM
Bingo - that´s the point!!!
My thread ended up with:
AfxEndThread(0);
return 0;
I removed AfxEndThread and the memory leak problem was history.
Can anybody explain the background?
|
Click Here to Expand Forum to Full Width
|