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...
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...
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...
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...
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...
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...
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?
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...
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.
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 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.