Click here to Skip to main content
15,909,939 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to remove Client area in a single document application Pin
Anand Manikiam30-Nov-03 20:31
Anand Manikiam30-Nov-03 20:31 
AnswerRe: How to remove Client area in a single document application Pin
Prakash Nadar30-Nov-03 22:15
Prakash Nadar30-Nov-03 22:15 
Generalmessage box..... Pin
Best Friend30-Nov-03 20:09
Best Friend30-Nov-03 20:09 
GeneralRe: message box..... Pin
Shanmuga Sundar30-Nov-03 21:16
Shanmuga Sundar30-Nov-03 21:16 
GeneralWindow creation problem Pin
User 21559730-Nov-03 19:35
User 21559730-Nov-03 19:35 
GeneralRe: Window creation problem Pin
Antti Keskinen30-Nov-03 23:51
Antti Keskinen30-Nov-03 23:51 
GeneralRe: Window creation problem Pin
User 2155971-Dec-03 0:25
User 2155971-Dec-03 0:25 
Generalregd CFile Pin
karteek30-Nov-03 18:08
karteek30-Nov-03 18:08 
Hi,

I used CFile object.I included afx.h as header.I am getting the following error in calling the function CallWindowProc and SetWindowLong .I did not include windows.h because I am getting error if I include both windows.h and afx.h

d:\test_plugins\gen_minisdk\trayctl.cpp(144) : error C2664: 'CallWindowProcA' : cannot convert parameter 1 from 'void *' to 'long (__stdcall *)(struct HWND__ *,unsigned int,unsigned int,long)'
Conversion from 'void*' to pointer to non-'void' requires an explicit cast

d:\test_plugins\gen_minisdk\trayctl.cpp(169) : error C2664: 'SetWindowLongA' : cannot convert parameter 3 from 'long (__stdcall *)(struct HWND__ *,unsigned int,unsigned int,long)' to 'long'
This conversion requires a reinterpret_cast, a C-style cast or function-style cast


Karteek
GeneralRe: regd CFile Pin
Antti Keskinen30-Nov-03 23:58
Antti Keskinen30-Nov-03 23:58 
GeneralActiveX spreadsheet Pin
DougW4830-Nov-03 16:51
DougW4830-Nov-03 16:51 
Questionhow to run.exe without visual c++ installed? Pin
Anonymous30-Nov-03 15:42
Anonymous30-Nov-03 15:42 
AnswerRe: how to run.exe without visual c++ installed? Pin
Prakash Nadar30-Nov-03 16:02
Prakash Nadar30-Nov-03 16:02 
GeneralRe: how to run.exe without visual c++ installed? Pin
BaldwinMartin30-Nov-03 23:17
BaldwinMartin30-Nov-03 23:17 
GeneralCString to WCHAR Pin
Hesham Amin30-Nov-03 10:02
Hesham Amin30-Nov-03 10:02 
GeneralRe: CString to WCHAR Pin
Jörgen Sigvardsson30-Nov-03 10:12
Jörgen Sigvardsson30-Nov-03 10:12 
GeneralRe: CString to WCHAR Pin
Hesham Amin30-Nov-03 10:19
Hesham Amin30-Nov-03 10:19 
GeneralRe: CString to WCHAR Pin
Jörgen Sigvardsson30-Nov-03 10:25
Jörgen Sigvardsson30-Nov-03 10:25 
GeneralRe: CString to WCHAR Pin
Peter Weyzen30-Nov-03 14:00
Peter Weyzen30-Nov-03 14:00 
GeneralRe: CString to WCHAR Pin
Jörgen Sigvardsson30-Nov-03 21:22
Jörgen Sigvardsson30-Nov-03 21:22 
GeneralRe: CString to WCHAR Pin
Hesham Amin1-Dec-03 2:04
Hesham Amin1-Dec-03 2:04 
Generalhelp h43k4z again! Pin
h43k4z30-Nov-03 10:00
h43k4z30-Nov-03 10:00 
GeneralRe: help h43k4z again! Pin
Christian Graus30-Nov-03 10:43
protectorChristian Graus30-Nov-03 10:43 
Generalimage processing under visual c++ 6... Pin
Anonymous30-Nov-03 8:51
Anonymous30-Nov-03 8:51 
GeneralRe: image processing under visual c++ 6... Pin
Christian Graus30-Nov-03 9:12
protectorChristian Graus30-Nov-03 9:12 
GeneralParent and child dialogs Pin
J.B.30-Nov-03 7:28
J.B.30-Nov-03 7:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.