Click here to Skip to main content
16,015,296 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to minimize the main window and the child windows to remain on the desktop? Pin
MAAK5-Mar-03 23:51
MAAK5-Mar-03 23:51 
GeneralExcel automation Pin
Rage5-Mar-03 20:41
professionalRage5-Mar-03 20:41 
GeneralRe: Excel automation Pin
HENDRIK R5-Mar-03 21:07
HENDRIK R5-Mar-03 21:07 
GeneralRe: Excel automation Pin
Rage5-Mar-03 22:14
professionalRage5-Mar-03 22:14 
GeneralRe: Excel automation Pin
HENDRIK R5-Mar-03 22:51
HENDRIK R5-Mar-03 22:51 
GeneralRe: Excel automation Pin
Rage5-Mar-03 23:16
professionalRage5-Mar-03 23:16 
GeneralRe: Excel automation Pin
HENDRIK R6-Mar-03 0:27
HENDRIK R6-Mar-03 0:27 
GeneralRe: Excel automation Pin
Rage6-Mar-03 0:50
professionalRage6-Mar-03 0:50 
Schlaubi wrote:
range->SetHorizontalAlignment(COleVariant(xlHAlignCenter));

That's what I've tried from the beginning, but compiler does not know about xlHAlignCenter, so even the type cast would not fit. Anyway, i have found in Article ID: Q179706 in the MSDN, that the value for xlVAlignCenter (so the vertical alignement) is -4108, assumed this would be the same for horizontal alignement, tried ... and it worked Cool | :cool: !
So i'm done, even if i would really love to have a table giving indications like
xlHAlignCenter=-4108; Roll eyes | :rolleyes:

Lots of thank for your help, i own you a Beer | [beer] ...

~RaGE();
GeneralRe: Excel automation Pin
HENDRIK R6-Mar-03 1:17
HENDRIK R6-Mar-03 1:17 
GeneralRe: Excel automation Pin
Rage6-Mar-03 1:29
professionalRage6-Mar-03 1:29 
GeneralRe: Excel automation Pin
HENDRIK R6-Mar-03 1:48
HENDRIK R6-Mar-03 1:48 
QuestionStacked tabs in a property sheet? Pin
Joan M5-Mar-03 20:35
professionalJoan M5-Mar-03 20:35 
AnswerRe: Stacked tabs in a property sheet? Pin
Ted Ferenc5-Mar-03 21:37
Ted Ferenc5-Mar-03 21:37 
GeneralRe: Stacked tabs in a property sheet? Pin
Joan M6-Mar-03 3:50
professionalJoan M6-Mar-03 3:50 
GeneralClose Port Pin
San5-Mar-03 19:22
San5-Mar-03 19:22 
GeneralRe: Close Port Pin
RobJones6-Mar-03 1:46
RobJones6-Mar-03 1:46 
GeneralResource DLLs / MFC Pin
Jon Sagara5-Mar-03 19:09
Jon Sagara5-Mar-03 19:09 
GeneralRe: Resource DLLs / MFC Pin
Bartosz Bien5-Mar-03 23:57
Bartosz Bien5-Mar-03 23:57 
GeneralRe: Resource DLLs / MFC Pin
Blake Miller7-Mar-03 9:51
Blake Miller7-Mar-03 9:51 
Generaldetecting system shutdown Pin
r i s h a b h s5-Mar-03 17:36
r i s h a b h s5-Mar-03 17:36 
GeneralRe: detecting system shutdown Pin
Michael Dunn5-Mar-03 19:13
sitebuilderMichael Dunn5-Mar-03 19:13 
GeneralRe: detecting system shutdown Pin
r i s h a b h s5-Mar-03 22:49
r i s h a b h s5-Mar-03 22:49 
GeneralCPoint and Popup Menus.. Pin
adonisv5-Mar-03 17:28
adonisv5-Mar-03 17:28 
GeneralRe: CPoint and Popup Menus.. Pin
Dave Bryant5-Mar-03 17:31
Dave Bryant5-Mar-03 17:31 
GeneralRe: CPoint and Popup Menus.. Pin
Ryan Binns5-Mar-03 21:01
Ryan Binns5-Mar-03 21:01 

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.