Click here to Skip to main content
15,911,848 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to get a value (in C++ code) returned by a Stored procedure? Pin
PankajB22-Feb-09 23:58
PankajB22-Feb-09 23:58 
QuestionRe: How to get a value (in C++ code) returned by a Stored procedure? Pin
CPallini23-Feb-09 0:14
mveCPallini23-Feb-09 0:14 
AnswerRe: How to get a value (in C++ code) returned by a Stored procedure? Pin
PankajB23-Feb-09 0:23
PankajB23-Feb-09 0:23 
GeneralRe: How to get a value (in C++ code) returned by a Stored procedure? Pin
PankajB23-Feb-09 0:35
PankajB23-Feb-09 0:35 
QuestionI have a problem with Cyrillic Characters in C++ MFC (Visual Studio 6) Pin
micutzu22-Feb-09 23:49
micutzu22-Feb-09 23:49 
AnswerRe: I have a problem with Cyrillic Characters in C++ MFC (Visual Studio 6) Pin
Code-o-mat23-Feb-09 0:31
Code-o-mat23-Feb-09 0:31 
QuestionSetfont not working properly in Wizard Mode property Sheet. Pin
Le@rner22-Feb-09 23:35
Le@rner22-Feb-09 23:35 
AnswerRe: Setfont not working properly in Wizard Mode property Sheet. Pin
Iain Clarke, Warrior Programmer23-Feb-09 4:31
Iain Clarke, Warrior Programmer23-Feb-09 4:31 
I'm not wading through all that!

But I can imagine the problem. The wizard needs to calculate the size of the dialog before creation, so it can create itself first, large enough for your ends.

Reading the PROPSHEETPAGE structure, it has a PSP_PREMATURE flag. That implies that the normal behaviour is to wait until the correct tab / next button is pressed before the page is corrected.

I can see two choices:
1) Use the PSP_PREMATURE flag, and hope that makes the calculations work on the actual window, rather than reading the dialog template.
2) Load the resource into R/W ram, change the font field, and use the PSP_DLGINDIRECT flag of the PROPSHEEYPAGE. Not an easy choice...

Good luck,

Iain.

Codeproject MVP for C++, I can't believe it's for my lounge posts...

QuestionHow to make the buttons as high as the toolbar control? Pin
kcynic22-Feb-09 22:37
kcynic22-Feb-09 22:37 
QuestionDifference between MS C++ and "normal" C++? Pin
Megidolaon22-Feb-09 22:32
Megidolaon22-Feb-09 22:32 
AnswerRe: Difference between MS C++ and "normal" C++? Pin
«_Superman_»22-Feb-09 22:37
professional«_Superman_»22-Feb-09 22:37 
AnswerRe: Difference between MS C++ and "normal" C++? Pin
CPallini22-Feb-09 22:45
mveCPallini22-Feb-09 22:45 
AnswerRe: Difference between MS C++ and "normal" C++? Pin
Megidolaon23-Feb-09 0:06
Megidolaon23-Feb-09 0:06 
GeneralRe: Difference between MS C++ and "normal" C++? Pin
CPallini23-Feb-09 0:16
mveCPallini23-Feb-09 0:16 
GeneralRe: Difference between MS C++ and "normal" C++? Pin
tyr200023-Feb-09 1:02
tyr200023-Feb-09 1:02 
GeneralRe: Difference between MS C++ and "normal" C++? Pin
kamalesh8223-Feb-09 1:27
kamalesh8223-Feb-09 1:27 
GeneralRe: Difference between MS C++ and "normal" C++? Pin
grassrootkit23-Feb-09 1:39
grassrootkit23-Feb-09 1:39 
GeneralRe: Difference between MS C++ and "normal" C++? Pin
toxcct23-Feb-09 1:44
toxcct23-Feb-09 1:44 
AnswerRe: Difference between MS C++ and "normal" C++? Pin
grassrootkit23-Feb-09 1:14
grassrootkit23-Feb-09 1:14 
AnswerRe: Difference between MS C++ and "normal" C++? Pin
toxcct23-Feb-09 1:42
toxcct23-Feb-09 1:42 
AnswerRe: Difference between MS C++ and "normal" C++? Pin
Megidolaon23-Feb-09 2:46
Megidolaon23-Feb-09 2:46 
GeneralRe: Difference between MS C++ and "normal" C++? Pin
toxcct23-Feb-09 5:20
toxcct23-Feb-09 5:20 
QuestionPLease help me "OnCtlColor" not working in property sheet Pin
Le@rner22-Feb-09 22:25
Le@rner22-Feb-09 22:25 
AnswerRe: PLease help me "OnCtlColor" not working in property sheet Pin
Iain Clarke, Warrior Programmer23-Feb-09 4:33
Iain Clarke, Warrior Programmer23-Feb-09 4:33 
QuestionGet Removal Device ID Pin
MsmVc22-Feb-09 22:11
MsmVc22-Feb-09 22:11 

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.