|
First
|
Prev |
Next
|
Last
Pages: 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141
Cwnd::CreateEx creates a window under Win2k that looks like Win 3.1! This is a weird one. I'm creating a window for a class derived from CWnd using CreateEx. The window is created and it is perfectly usable. However, all of its widgets, and its style in general is that of Windows 3.1! I don't understand how this can be. My code: CString my_class = AfxRegisterWndClass(CS_VREDRAW | ... 25 Jun 2008 07:48
SendTo not working implemented in Server Dear VC.MFCers, I would like to know how to send SendTo in a server application that means Client sends the data in TCP and Server will send the data back to Client in UDP. I checked my Client OnReceive and I receive none. This is the snippet (Server side) Receive(mysocket *client) { count=cli... 7 Jun 2008 23:33
Modeless CPropertySheet Style WS_CHILD Issue. Hi, I have a class CMyPropertySheet derived from CPropertySheet. I have added a CButton control and a CToolbar on this propertysheet. I have also added command handlers for the button and toolbar buttons. I have created property sheet as modeless propertysheet with WS_CHILD style set. Handler for button ge... 6 Jun 2008 04:35
Application navigation 1.Whenever i navigate my MFC application to another application ,all dialog boxes are displaying in another application also.My dialog box style(property) is popup if i make style property as CHILD it is not at all displaying. How can i solve this problem. 2. Once i minimise my MFC application If i try to maximi... 6 Jun 2008 03:33
vc 6.0 to vs2005 (vc8) Dear all: I have a project that need move sdk from vc6 mfc application to virtual studio 2005. This app link 3 library, we only got 2 source of these library. Use vs2005 default convert function,it's easy to move to vs2005. (of course i fix some compiler error and linker error). But applicat... 6 Jun 2008 11:17
I need a code review for WH_MOUSE Hook http://www.seescreen.com/Hooks2.zip This was writen in Microsoft Visual ++ 6.0, it does compile correctly in Visual C++ 2005 This is a project that demonstrates the four types of hardware hooks that are available with SetWindowsHookEx(), two for the keyboard and two for the mouse: WH_KEYBOARD WH_KEYBOA... 5 Jun 2008 23:29
Why this happen? is it a bug of mfc9.0 I write a program in vc++ 2008,and i want to make it support multiple language. so i write a dll with all the resource build in it ,then i use the API function : LoadLibrary to Load the resource dll. last i use AfxSetResourceHandle(hCurrLanguageInstanceHandle);still now the application can run. but when i... 10 Jun 2008 01:14
MDI FormView project I want to create a MDI project using the FormView class, but limit it to only 2 forms. Also, I would like to have each form slightly different. How would I go about doing this? Z.K. ... 5 Jun 2008 22:27
Another question, regard enum { IDD = DIALOGID }; Hope it's okay if I ask another question, I noticed that my dialog lacked an IDD-enum. When you create a new dialog project, say, you get something like the following in the public section of the dialog class header: enum { IDD = IDD_ASIMPLETEST_DIALOG }; I noticed I didn't have one in this old project so I ad... 5 Jun 2008 17:51
DoDataExchange woes Hello! I have done very little MFC programming since last summer but now I'm back again. One of the things I learned about late during my last MFC session was DoDataExchange. Now I have a few old mfc projects which are currently using GetDlgItem() and I want to "fix" them. However, fixing them turned out to be ... 16 Jun 2008 10:38 |