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

Search:

Type: Posts; User: Lim Say Kiap

Page 1 of 8 1 2 3 4

Search: Search took 0.14 seconds.

  1. Adding a NumericUpDown instance to a Canvas instance

    I need to create a dynamic dialog box using System.Windows.Window class where the controls being displayed inside this dialog will change at runtime. Therefore I am using a...
  2. Using DllImport to get string from unmanaged c++ dll

    I need to call a unmanaged c++ function which returns a string from c#.

    The code shown below (TestApp) works fine for TestDll1 where the GetStringFromDll() returns a char*.

    However what should...
  3. Re: Problem using CColumn of OLE DB on Excel Spreadsheet

    I will provide more details of the problem.

    I am using Jet OLEDB 4.0 to access excel files. It seems that it will not work if the worksheet name of a excel file starts with a numeric but works...
  4. Problem using CColumn of Jet OLE DB 4.0 on Excel Spreadsheet

    I am using OLE DB to read excel spreadsheet. After connection has been made, and a worksheet has been specified by calling the CColumn::Open(), I would use the CColumn::MoveFirst() and and...
  5. Replies
    6
    Views
    823

    How do handle the message generated by the...

    How do handle the message generated by the Accelerated keys in the dialog window?

    And how can i find out what is the exact message generated by the Accelerator keys?
  6. Replies
    6
    Views
    823

    How do i send the command to the mainframe? I...

    How do i send the command to the mainframe? I tried using the PreTranslateMessage() function to handle the message and then call the correct functions in mainframe from the window in focus. However...
  7. Replies
    6
    Views
    823

    Accelerator Keys

    Using the resource editor, i have created a few accelerator keys...However the problem is that the accelerator keys will only work if the CMainFrame class is in focus. If i have invoked another...
  8. Changing the background colour of CToolBar

    i have created a CToolBar, is there a way to change the background as i need the buttons of CToolBar to be a different colour other than gray. Along with CToolBar i also need to change the colour of...
  9. Replies
    1
    Views
    697

    Displaying menu of dialog box

    I have created a dialog box and have attached a menu to the dialog box. Is there is any way to display the menu immediately when the dialog box is invoked without the user clicking on the menu?
  10. Replies
    5
    Views
    997

    Re: CM

    Not i still have no idea how to solve it. Someone suggested that using the TPM_NONOTIFY and TPM_RETURNCMD flags will force the menu to act modally but i don't think these 2 flags existed and i never...
  11. Replies
    5
    Views
    997

    Wat is a UI thread??

    Wat is a UI thread??
  12. Replies
    5
    Views
    997

    Context Menu

    I have created a CFormView which displays some graphics and using a timer, the graphics will be constanly updated.

    As i need to have a context menu, I have used the CMenu::TrackPopupMenu()...
  13. Replies
    1
    Views
    686

    Problem with context menu

    I have created a CFormView which displays some graphics and using a timer, the graphics will be constanly updated.

    As i need to have a context menu, I have used the CMenu::TrackPopupMenu()...
  14. Replies
    5
    Views
    1,103

    Its bascially caused by KERNEL 32! 77f1ba06() and...

    Its bascially caused by KERNEL 32! 77f1ba06() and WinMainCRTStartup() line 330 + 54 bytes......

    I am not sure how this happen.
  15. Replies
    5
    Views
    1,103

    Its bascially an Assertion failure. It crashes at...

    Its bascially an Assertion failure. It crashes at CWnd::AssertValid()
    at ASSERT(::IsWindow(m_hWnd));
  16. Replies
    5
    Views
    1,103

    Help needed for CTreeCtrl

    I have created a CTreeCtrl in my dialog box. Using the EditLabel function of CTreeCtrl, I will allow the user to edit the selected item's text.

    When the EditLabel function is called, the CTreeCtrl...
  17. Replies
    1
    Views
    578

    CEdit Control

    I have created a CEdit control in a dialog box. However i notice that the notification message of CEdit class does not have either a BN_CLICKED or BN_DOUBLECLICKED.

    To make it worst, the the...
  18. Replies
    1
    Views
    647

    Problem with CToorlBar

    The CToolBar class has a function SetSize() to set the size for the buttons within the toolbar. However this fucntion will only allow all the buttons within the Toolbar to have the same size.

    I...
  19. Replies
    1
    Views
    907

    Questions regarding CSpinButtonCtrl

    I have created a few CSpinButtonCtrl in the dialog boxes.

    Using the UDN_DELTAPOS message, I will be able to determine whether the user has pressed on the up or down arrow of the control. The...
  20. Replies
    1
    Views
    684

    Changing the colour of dialog boxes

    I need to change the colour of dialog boxes from grey to green.

    Using ON-WM_CTLCOLOR i have managed to do that. However not everything inside the dialog box have been changed. The main problem is...
  21. Replies
    4
    Views
    942

    OK i got it....A million thanks

    OK i got it....A million thanks
  22. Replies
    4
    Views
    942

    What do you mean?? Which flag to test?

    What do you mean?? Which flag to test?
  23. Replies
    4
    Views
    942

    Problems with CTreeCtrl

    I have created a CTreeCtrl. By using specifying the style TVS_DISABLEDRAGDROP for the CTreeCtrl, I have managed to disable the drag and drop operation of the CTreeCtrl.

    However the problem is...
  24. Replies
    2
    Views
    643

    Help on UpdateData

    I have created a CFormView with a few CEdit and CCombo boxes.

    Instead of using UpdateData(TRUE) to update all the CEdit and CCombo boxes i just need to update one CCombo box. How can i do that??
  25. Replies
    6
    Views
    878

    The dialog box i am creating is modal

    The dialog box i am creating is modal
Results 1 to 25 of 200
Page 1 of 8 1 2 3 4





Click Here to Expand Forum to Full Width

Featured