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

Search:

Type: Posts; User: KVR1

Page 1 of 8 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    1
    Views
    570

    Re: Accessing variables

    Using DLLs, we can use the values of the variables which are defined by JavaScript. Need to pass these variables to the functions in DLL (VC++).
  2. Replies
    4
    Views
    484

    Re: simulate keyboard to save

    See this article http://msdn.microsoft.com/msdnmag/issues/05/01/CQA/default.aspx . I think it will more helpfull to you.
  3. Replies
    1
    Views
    1,149

    Re: Use of COleControl::SetFont

    Call GetFont on COleControl. It will return COleFont, with this you can able to set the font.
  4. Re: How to add controls to the right end of a CToolBar?

    Simple. Add a SEPARATOR into ToolBar. Derive a class from CToolBar, increase the width of the SEPARATOR at runtime (you need to place this code in your derived class) depending on the requirement.
  5. Re: how to get pixel values from IPictureDisp interface?

    To work on each pixel of the Image, the Image must be in DIB. If the Image not in DIB, better to conver tp DIB. It is better to search for DIB in this site. Here you will find lot of examples. Try...
  6. Replies
    1
    Views
    484

    Re: Controlling CD ROM

    Use Media Control Interface (MCI). It provides standard commands for playing multimedia devices.
  7. Thread: CFileDialog

    by KVR1
    Replies
    3
    Views
    833

    Re: CFileDialog

    You have to handle WM_GETDLGCODE and return DLGC_WANTCHARS. I think it solves the problem.
  8. Thread: Proc Killing Help

    by KVR1
    Replies
    4
    Views
    652

    Re: Proc Killing Help

    You need to have a process handle to kill the procell. GetModuleHandleEx is used to get the handle. After that use TerminateProcess to terminate the process. But the handle must have the...
  9. Replies
    1
    Views
    629

    Re: How to create a dll

    I think FindResourceEx / LoadResource and GetModuleHandle / GetModuleHandleEx are useful to solve this.
  10. Thread: CWnd problem

    by KVR1
    Replies
    2
    Views
    644

    Re: CWnd problem

    Try with these methods:

    1. If the application is dialog based, better to write your int OnTimer.

    2. If the App. is SDI or MDI better to write the code OnNewDocument/OnOpenDocumenr or in OnTimer.
  11. Replies
    1
    Views
    481

    Re: how i eliminate the icon

    check with these:

    Add WS_EX_TOOLWINDOW to the dialog styles.
    Remove WS_EX_APPWINDOW from the dialog styles.
  12. Replies
    1
    Views
    458

    Re: Deploying an ActiveX control

    Registry paths are required for registering the control.
    Only .OCX file is required to deploy.
  13. Replies
    1
    Views
    622

    Re: Add a button on Save As dialogue tool bar

    To customize the Save As dialog box, derive a class from CFileDialog, provide a custom dialog template, and add a message map to process the notification messages from the extended controls. Any...
  14. Replies
    15
    Views
    3,141

    Re: Problem with Textbox Redrawing

    Can u post ur code...then it is easy to find out the problem and possible to give the solution...
  15. Replies
    1
    Views
    1,183

    Re: how to get the hard disk information

    I think using WMI its possible.
    See MSDN for WMI and the classes are Win32_DiskDrive, Win32_DiskDrivePhysicalMedia.
  16. Replies
    1
    Views
    656

    Re: Multiple column combo box

    There are somany programs are available on this...
    Search this site for Owner Drawn Combo Boxes...
    Other wise See the followin sites :
    www.codetools.com

    MSDN
  17. Re: How do I access a resource from another class?

    declare ur generic class as a friend of ur view class.
    or
    with the help of ((CMainFrame *)AfxGetMainWnd())->GetActiveView() u can get the pointer to the active view.
  18. Re: Problem with programming VC with Access Database

    When we navigating between the records in the record set, we need to take care about whether the pointer is at the first record of the record set or at the last record of the record set...If the...
  19. Replies
    3
    Views
    819

    Re: ctreectrl on_contextmenu

    In this case, whenever u press right button on the control it sends a notification message (NM_RCLICK) to its parent. u need to handle that message and put the following single statement into that...
  20. Thread: Help needed

    by KVR1
    Replies
    2
    Views
    534

    Re: Help needed

    There are somany good sites for VC++ Programming. See the following sites:

    http://www.codeguru.com
    http://www.codetools.com
    http://www.codefunda.com
    http://www.funducode.com

    and the best...
  21. Replies
    2
    Views
    1,260

    Re: Ejecting the CD-ROM

    Using MCI it is possible. Check for MCI in MSDN...u will get lot of info. on this in MSDN...
  22. Replies
    2
    Views
    682

    Re: Who can compile my code to DLL ?

    It is simple, open the project in Visual Studio and compile it. To provide support to other languages put extern "C" line before of the all exported items. And don't export the classes. If any...
  23. Replies
    3
    Views
    776

    Re: How can i dock the bar

    Just u call these functions in OnCreate of ur CMainFrame class to enable docking:

    <<ControlaBar Object>>.EnableDocking(...);

    EnableDocking(...);
    DockControlBar(<<& of ControlaBar Object>>);
    ...
  24. Replies
    12
    Views
    1,139

    Re: How to Convert COleVarient to String

    There is a link for the sample code in the same page.
    Otherwise click here:
    DAOVIEW
  25. Replies
    3
    Views
    817

    Re: Arrow keys for Tabs

    There is no special ascii code for Shift+Tab key combination. Check the state of the Shift is possible with GetKeyState Function. Check this function and functions related to this...If u want to...
Results 1 to 25 of 195
Page 1 of 8 1 2 3 4





Click Here to Expand Forum to Full Width

Featured