Click here to Skip to main content
15,884,176 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Visual C++ 2008 runtime! Pin
Stuart Dootson15-Aug-09 13:45
professionalStuart Dootson15-Aug-09 13:45 
QuestionWhat is the C++ syntax for c# "typeof(string)"? Pin
Member 391164315-Aug-09 6:50
Member 391164315-Aug-09 6:50 
AnswerRe: What is the C++ syntax for c# "typeof(string)"? Pin
Hristo-Bojilov15-Aug-09 7:16
Hristo-Bojilov15-Aug-09 7:16 
GeneralRe: What is the C++ syntax for c# "typeof(string)"? Pin
Member 391164315-Aug-09 8:06
Member 391164315-Aug-09 8:06 
QuestionHow to open network addaptor Status dialog programatically. Pin
birajendu15-Aug-09 3:48
birajendu15-Aug-09 3:48 
AnswerRe: How to open network addaptor Status dialog programatically. Pin
Hamid_RT15-Aug-09 21:22
Hamid_RT15-Aug-09 21:22 
AnswerRe: How to open network addaptor Status dialog programatically. Pin
kilt17-Aug-09 3:29
kilt17-Aug-09 3:29 
QuestionHow to add a new column of the open file dialog which in the detail mode? Pin
Member 600960315-Aug-09 3:32
Member 600960315-Aug-09 3:32 
hey every one, i got a problem about the customize the open file dialog(which use the openfinename)
when i open a open file dialog, i want the open file dialog can open in the detail mode(the default is the list style),
and in the detail mode, the syslistview32 show four columns{file name, type, size, and modify time}, but i wand add a create time or author column(whatever), i donot know how to do it
at first i a a hook function to the opnefilename, and in the hook function's wm_notify message, i got the syslistview32 and sysheader32 handle.and send message wm_command to sysheader32 handle to set the initialion view style(like list, thumnbail, icon or detail), this job i had done.
but how can i add a new column to the syslistview32 or sysheader32?at first i simulate a right click message to the sysheader32. like
NMHDR mnh;
mnh.hwndFrom = hHeader32;
mnh.code = MN_RCLICK;
SendMessage(hListview32, WM_NOTIFY, 0, (LPARAM)&nmh);
the code can pop up the menu, but i dont know how to get the handle to the pop up menu. Frown | :(
so i canot simulate another menu click message.
any thing i wrong? or how can i add a new column(author or create date) under the detail view style before the open file dialog show?
my english is so poor, i hope you can understand.
thank you any way. Big Grin | :-D
QuestionI need a drag-drop contrl - vertically inside parent window Pin
includeh1015-Aug-09 3:12
includeh1015-Aug-09 3:12 
QuestionWriting a Screensaver Pin
gamefreak229115-Aug-09 2:49
gamefreak229115-Aug-09 2:49 
AnswerRe: Writing a Screensaver Pin
Code-o-mat15-Aug-09 5:27
Code-o-mat15-Aug-09 5:27 
AnswerRe: Writing a Screensaver Pin
Adam Maras15-Aug-09 6:37
Adam Maras15-Aug-09 6:37 
GeneralRe: Writing a Screensaver Pin
gamefreak229115-Aug-09 8:37
gamefreak229115-Aug-09 8:37 
Questiondecompress gzip file using zlib lib Pin
Toubro14-Aug-09 21:30
Toubro14-Aug-09 21:30 
AnswerRe: decompress gzip file using zlib lib Pin
Garth J Lancaster14-Aug-09 21:54
professionalGarth J Lancaster14-Aug-09 21:54 
AnswerRe: decompress gzip file using zlib lib Pin
kilt17-Aug-09 3:28
kilt17-Aug-09 3:28 
QuestionHello How Can I Use C++ read/write data with PLC Pin
driveinc14-Aug-09 21:23
driveinc14-Aug-09 21:23 
AnswerRe: Hello How Can I Use C++ read/write data with PLC Pin
Garth J Lancaster14-Aug-09 22:02
professionalGarth J Lancaster14-Aug-09 22:02 
QuestionAsk for help ___the errors in my projects to show modless dialog in dll [modified] Pin
hailuolan14-Aug-09 19:33
hailuolan14-Aug-09 19:33 
AnswerRe: Ask for help ___the errors in my projects to show non-model dialog in dll Pin
zhu_lin16-Aug-09 22:29
zhu_lin16-Aug-09 22:29 
GeneralRe: Ask for help ___the errors in my projects to show non-model dialog in dll Pin
hailuolan19-Aug-09 2:46
hailuolan19-Aug-09 2:46 
AnswerRe: Ask for help ___the errors in my projects to show modless dialog in dll Pin
zhu_lin20-Aug-09 15:26
zhu_lin20-Aug-09 15:26 
GeneralRe: Ask for help ___the errors in my projects to show modless dialog in dll Pin
hailuolan21-Aug-09 4:21
hailuolan21-Aug-09 4:21 
QuestionExtending combo box. [modified] Pin
emmmatty114-Aug-09 19:30
emmmatty114-Aug-09 19:30 
AnswerRe: Extending combo box. Pin
Code-o-mat14-Aug-09 21:17
Code-o-mat14-Aug-09 21:17 

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.