First  |  Prev |  Next  |  Last
Pages: 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
Anybody ever set treeview item's state to TVIS_CUT?
// clear cut state TreeView_SetItemState( hwnd, hItemCut, 0, TVIS_CUT ) ; // set cut state TreeView_SetItemState( hwnd, hItemCut, TVIS_CUT,TVIS_CUT ) ; When I cutted the item,its icon changed to dark.I hope it changes to a little vague,just like windows explorer.I can change item's icon by myself without sett... 24 Apr 2008 01:15
How to resize custom control
Hello, I have got a dialog with a custom control, which I would like to resize dynamically. I tried MoveWindow and it does not work somehow. Does anyone know how to do this? A special property has to be assigned in the resource editor? Cheers Pshemek ... 23 Apr 2008 11:41
AttachConsole() on Win 2000
Hi All, I am using AttachConsole() api in MFC dialog based aplication to write data to parent console from where application executed. However this API is not supported in Win2000. Please suggest any alternative to get same task done on WIn 2000. Thanks, Ajay ... 23 Apr 2008 11:41
How do I calculate the position of the thumb in the scrollbar?
Hi How do I calculate the position of the thumb in the scrollbar? In an application I have a grid that can display thousands or millions of rows with data from a database. I do not want to retrieve more data from the database than what can be displayed and visible. I do not want to create a grid with 10... 23 Apr 2008 12:29
treeview item's icon changed to dark when it was cutted
// clear cut state TreeView_SetItemState( hwnd, hItemCut, 0, TVIS_CUT ) ; // set cut state TreeView_SetItemState( hwnd, hItemCut, TVIS_CUT,TVIS_CUT ) ; When I cutted the item,its icon changed to dark.I hope it changes to a little vague,just like windows explorer.I can change item's icon by myself without sett... 24 Apr 2008 03:39
save source code with multiple combobox
Hello, I've 20 combobox in a window. I've mapped ON_CBN_SELCHANGE message on each one, with a method for each one too. But the code is almost the same in each method. I want to know if it's possible to recover the ID of the combobox when I'm receiving the ON_CBN_SELCHANGE message, to make a single method. Th... 23 Apr 2008 12:29
copy pointer CSocket class
Hi Joe, Thank you so much for your article in your website. I have another question regarding socket, will CAsyncSocket good enough or should I use WinSock? What are advantages and disadvantages of both? Thank you. Regards, Rehmet On Mar 24, 8:09 am, Joseph M. Newcomer <newco...(a)flounder.com> wrote: ... 23 Apr 2008 03:31
CButton: Enable and SetFocus
On Apr 23, 12:21 am, no.addr...(a)sorry.com.zzz (Tom Sherren) wrote: Using Visual Studio 2003. In a dialog (CDialog), I want to initially disable the OK button until the user selects an item in a list box on that dialog.  When an item is selected I want to enable the OK button and give it focus (so that th... 23 Apr 2008 01:09
accessing a library
the C++ way of accessing a library is using #include, consider the following include herarichy: main.cpp -> Demo.h -> Config.h -> Gconfig.h -> ConfigDef.h the above shows main.cpp include -> Demo.h and Demo.h include -> Config.h ... and so on then basically, main.cpp had inheritan everything of the 4 header... 24 Apr 2008 23:47
CButton: Enable and SetFocus
Using Visual Studio 2003. In a dialog (CDialog), I want to initially disable the OK button until the user selects an item in a list box on that dialog. When an item is selected I want to enable the OK button and give it focus (so that the button has a bold outline showing that it has focus). What I get is:... 23 Apr 2008 17:18
First  |  Prev |  Next  |  Last
Pages: 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128