Type: Posts; User: SkidMark75
Search took 0.02 seconds.
I put a breakpoint in the CVirtualTreeDlg::OnTvnGetdispinfoTree function and the breakpoint is hit for every item in the tree on the first load (prior to me scrolling). Shouldn't it be calling this...
Found the answer...
HWND hwnd //Handle to a window that can accept drops
I tried calling DragAcceptFiles(FALSE) on my CF1Book in OnInitDialog and it still accepts the drop.
The wrapper is derived from CWnd. :(
The control is linked to a resource on my dialog through DDE. The wrapper class for the control is CF1Book (generated by Visual Studio). I have the User's Guide for the control, but haven't been...
Does anyone know how to disable drag and drop on an F1Book (Tidestone Formula One ActiveX grid control)? I want to prevent users from dropping data from other applications onto the control. Not...
March 17th, 2006, 03:44 PM
The shutdown occurs both when I use the [X] close button and the stop button in the debugger. I"m not sure about hooks/subclassing. I'll have to look into that.
Seems like I didn't have this...
March 17th, 2006, 02:17 PM
Not sure why this is happening, but I'm looking for possible solutions.
My VB6 IDE keeps shutting down every time I either stop debugging my application or close my application while the debugger...
March 14th, 2006, 09:23 PM
How about MenuItem.MenuItems = ToolStripMenuItem.???
I found the below article, but it didn't have anything to convert the MenuItem.MenuItems.
March 9th, 2006, 10:28 PM
I'm working with an old C# book and it is telling me to add a MainMenu to a Form and then set the Form's Menu to this new MainMenu that I've added, but I can't do that because the Form doesn't have a...
March 1st, 2006, 11:58 AM
After further investigation, there WAS something very obvious that I missed. I'm used to Visual C++ so I was expecting the focus to move to the button when I pressed the hotkey for that button. So...
March 1st, 2006, 11:18 AM
The first two responses look like workarounds. Does anyone know why the hotkeys don't work?
March 1st, 2006, 09:31 AM
A little more info...
I'm using Visual Studio 2005. Don't know if this matters.
February 28th, 2006, 10:33 PM
I have a simple little form with a couple Labels, TextBoxes, CheckBoxes and two Buttons. They all have hotkeys (except the TextBoxes of course) and all mnemonics are unique. All work except the...
February 21st, 2006, 09:25 AM
Thanks everyone! I decided to use RCFox's solution since this is the route I was trying to go prior to posting the problem. The solution does exactly what I was looking for. Thanks again to...
February 20th, 2006, 09:17 PM
What I want to do is deselect an item in my CListCtrl when a user clicks it if it was selected prior to the user clicking it. I've tried using the LVN_ITEMCHANGING event and the NM_CLICK event, but...
January 25th, 2006, 04:43 PM
I have an ActiveX control created in Visual Basic that I'm trying to use in my Visual C++ app. I'm having a little trouble with one of the functions of the control.
The definition of the...
January 6th, 2006, 05:13 PM
The current directory is important because my application uses files (common to another application) that are in the current directory (which is not the application directory.)
I found the answer...
January 6th, 2006, 04:39 PM
I'm having the same problem as newBee2MFC. The problem isn't "how do I get the current directory." The problem is that the current directory of the application is changed once you browse to a...
December 28th, 2005, 11:39 AM
I've added a few lines into my Program Files\Microsoft Visual Studio\Common\MSDev98\Bin\AutoExp.dat file for auto expansion. They all work except one. The one that doesn't work has five variables...
November 14th, 2005, 03:27 PM
I solved my problem somewhat...
I added the FindWindowEx and following SendMessage functions:
int CALLBACK BrowseCallbackProc (HWND hWnd, UINT msg,
LPARAM lParam, LPARAM lpData)...
November 14th, 2005, 02:42 PM
Yes, I am calling CoInitialize() prior to calling SHBrowseForFolder(). I just noticed in MSDN that the BIF_STATUSTEXT flag is not supported when BIF_NEWDIA******** is specified.
November 14th, 2005, 11:46 AM
I'm using SHBrowseForFolder to allow the user to pick a folder and I want to use the new dialog style (BIF_NEWDIA********). When I add this flag, the status text of the dialog will not display. If...
August 19th, 2005, 10:34 AM
I know how to use the token pasting operator (##), but I was wondering if this is possible:
If I have the following:
str = Get##var1();
and I use it like:...
August 18th, 2005, 03:40 PM
Thank you all for your help! Looks like I'll have to modify each of the projects. Years of working with Visual Studio and never even noticed that option! Thanks again!
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.