CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: SkidMark75

Page 1 of 2 1 2

Search: Search took 0.04 seconds.

  1. Replies
    13
    Views
    18,926

    Re: CTreeCtrl SOOO SLOW !

    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...
  2. Replies
    12
    Views
    6,065

    Re: F1Book - Drag and Drop

    Found the answer...



    WINOLEAPI RevokeDragDrop(
    HWND hwnd //Handle to a window that can accept drops
    );
  3. Replies
    12
    Views
    6,065

    Re: F1Book - Drag and Drop

    I tried calling DragAcceptFiles(FALSE) on my CF1Book in OnInitDialog and it still accepts the drop.
  4. Replies
    12
    Views
    6,065

    Re: F1Book - Drag and Drop

    The wrapper is derived from CWnd. :(
  5. Replies
    12
    Views
    6,065

    Re: F1Book - Drag and Drop

    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...
  6. Replies
    12
    Views
    6,065

    [RESOLVED] F1Book - Drag and Drop

    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...
  7. Replies
    4
    Views
    1,049

    Re: IDE shuts down after debugging

    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...
  8. Replies
    4
    Views
    1,049

    IDE shuts down after debugging

    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...
  9. Replies
    3
    Views
    6,054

    Re: MenuItem.Popup == ToolStripMenuItem.???

    Thanks, MadHatter!

    Another question...
    How about MenuItem.MenuItems = ToolStripMenuItem.???

    I found the below article, but it didn't have anything to convert the MenuItem.MenuItems.
    ...
  10. Replies
    3
    Views
    6,054

    MenuItem.Popup == ToolStripMenuItem.???

    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...
  11. Replies
    6
    Views
    1,302

    Re: hotkey not working for buttons

    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...
  12. Replies
    6
    Views
    1,302

    Re: hotkey not working for buttons

    The first two responses look like workarounds. Does anyone know why the hotkeys don't work?
  13. Replies
    6
    Views
    1,302

    Re: hotkey not working for buttons

    A little more info...
    I'm using Visual Studio 2005. Don't know if this matters.
  14. Replies
    6
    Views
    1,302

    hotkey not working for buttons

    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...
  15. Replies
    4
    Views
    5,781

    Re: CListCtrl - Deselect when clicked

    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...
  16. Replies
    4
    Views
    5,781

    CListCtrl - Deselect when clicked

    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...
  17. Replies
    5
    Views
    824

    Using ActiveX created in VB

    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...
  18. Replies
    11
    Views
    4,516

    Re: GetWorkingDirectory and open file dialog

    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...
  19. Replies
    11
    Views
    4,516

    Re: GetWorkingDirectory and open file dialog

    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...
  20. AutoExp.dat - Is there a limit to number of variables?

    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...
  21. Re: SHBrowseForFolder with BIF_NEWDIA******** problem

    I solved my problem somewhat...

    I added the FindWindowEx and following SendMessage functions:



    int CALLBACK BrowseCallbackProc (HWND hWnd, UINT msg,
    LPARAM lParam, LPARAM lpData)...
  22. Re: SHBrowseForFolder with BIF_NEWDIA******** problem

    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.
    ...
  23. SHBrowseForFolder with BIF_NEWDIA******** problem

    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...
  24. Token Pasting - use contents of argument instead of the argument itself

    I know how to use the token pasting operator (##), but I was wondering if this is possible:

    If I have the following:
    #define TOKENPASTEMACRO(var1)\
    str = Get##var1();

    and I use it like:...
  25. Re: Use environment variables in Tools|Options|Directories of IDE?

    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!
Results 1 to 25 of 27
Page 1 of 2 1 2





Click Here to Expand Forum to Full Width

Featured