Click here to Skip to main content
16,012,821 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHelp - Print out is in the format of horizontal flip Pin
kezhu16-Mar-06 18:05
kezhu16-Mar-06 18:05 
Questionhow to put image in right side of item in listcontrol Pin
lorey16-Mar-06 18:00
lorey16-Mar-06 18:00 
QuestionLoading application along with the data from folder. Pin
Giirsh116-Mar-06 17:28
Giirsh116-Mar-06 17:28 
AnswerRe: Loading application along with the data from folder. Pin
Nibu babu thomas16-Mar-06 17:31
Nibu babu thomas16-Mar-06 17:31 
AnswerRe: Loading application along with the data from folder. Pin
Xing Chen16-Mar-06 18:03
Xing Chen16-Mar-06 18:03 
QuestionRe: Loading application along with the data from folder. Pin
Giirsh116-Mar-06 18:35
Giirsh116-Mar-06 18:35 
AnswerRe: Loading application along with the data from folder. Pin
Cool Ju16-Mar-06 19:07
Cool Ju16-Mar-06 19:07 
AnswerRe: Loading application along with the data from folder. Pin
Xing Chen16-Mar-06 19:16
Xing Chen16-Mar-06 19:16 
Create registry value for associate editor to file type.

first add subkey to HKEY_CLASSES_ROOT with default value:
[HKEY_CLASSES_ROOT\.ddd]
@="DDDSampleFile"

second add subkey to HKEY_CLASSES_ROOT with default file type description:
[HKEY_CLASSES_ROOT\DDDSampleFile]
@="Sample File of Mine"

you can provide DefaultIcon which displayed by Explorer:
[HKEY_CLASSES_ROOT\DDDSampleFile\DefaultIcon]
@="C:\\windows\\notepad.exe,0"

then tell shell how to open this file:
[HKEY_CLASSES_ROOT\DDDSampleFile\shell]
[HKEY_CLASSES_ROOT\DDDSampleFile\shell\open]
[HKEY_CLASSES_ROOT\DDDSampleFile\shell\open\command]
@="\"C:\\windows\\notepad.exe\" \"%1\""

Of course you can do these actions by RegCreateKey and RegSetValue in your app.

at last ,you can double click the .ddd file in explorer to see the effect.
Questiongraphic.h in Visual c++ Pin
Aqueel16-Mar-06 16:57
Aqueel16-Mar-06 16:57 
AnswerRe: graphic.h in Visual c++ Pin
Naveen16-Mar-06 17:02
Naveen16-Mar-06 17:02 
AnswerRe: graphic.h in Visual c++ Pin
Eytukan16-Mar-06 20:03
Eytukan16-Mar-06 20:03 
AnswerRe: graphic.h in Visual c++ Pin
ThatsAlok17-Mar-06 0:53
ThatsAlok17-Mar-06 0:53 
GeneralRe: graphic.h in Visual c++ Pin
Aqueel17-Mar-06 18:36
Aqueel17-Mar-06 18:36 
GeneralRe: graphic.h in Visual c++ Pin
ThatsAlok17-Mar-06 21:14
ThatsAlok17-Mar-06 21:14 
QuestionHelp with set SQL cursor to SQL_SCROLLABLE Pin
nhuythanh16-Mar-06 16:03
nhuythanh16-Mar-06 16:03 
AnswerRe: Help with set SQL cursor to SQL_SCROLLABLE Pin
Gerald Schwab16-Mar-06 17:28
Gerald Schwab16-Mar-06 17:28 
QuestionText color in an Edit Control Pin
Joy Anne16-Mar-06 15:39
Joy Anne16-Mar-06 15:39 
AnswerRe: Text color in an Edit Control Pin
Stephen Hewitt16-Mar-06 15:52
Stephen Hewitt16-Mar-06 15:52 
AnswerRe: Text color in an Edit Control Pin
snowheavy16-Mar-06 15:58
snowheavy16-Mar-06 15:58 
GeneralRe: Text color in an Edit Control Pin
Naveen16-Mar-06 16:03
Naveen16-Mar-06 16:03 
AnswerRe: Text color in an Edit Control Pin
John R. Shaw16-Mar-06 16:25
John R. Shaw16-Mar-06 16:25 
AnswerRe: Text color in an Edit Control Pin
Hamid_RT16-Mar-06 17:02
Hamid_RT16-Mar-06 17:02 
QuestionPlace to save Wnd position Pin
Richard Andrew x6416-Mar-06 14:03
professionalRichard Andrew x6416-Mar-06 14:03 
AnswerRe: Place to save Wnd position Pin
bob1697216-Mar-06 15:41
bob1697216-Mar-06 15:41 
GeneralRe: Place to save Wnd position Pin
Richard Andrew x6416-Mar-06 16:07
professionalRichard Andrew x6416-Mar-06 16:07 

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.