Click here to Skip to main content
15,905,683 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Hide window from taskbar and alt+tab window Pin
James R. Twine18-Jul-07 7:24
James R. Twine18-Jul-07 7:24 
QuestionRe: Hide window from taskbar and alt+tab window Pin
David Crow18-Jul-07 7:19
David Crow18-Jul-07 7:19 
AnswerRe: Hide window from taskbar and alt+tab window Pin
Perspx18-Jul-07 7:21
Perspx18-Jul-07 7:21 
AnswerRe: Hide window from taskbar and alt+tab window Pin
James R. Twine18-Jul-07 7:25
James R. Twine18-Jul-07 7:25 
QuestionClass structure with character array Pin
bsharp5218-Jul-07 5:45
bsharp5218-Jul-07 5:45 
AnswerRe: Class structure with character array Pin
Mark Salsbery18-Jul-07 5:58
Mark Salsbery18-Jul-07 5:58 
GeneralRe: Class structure with character array Pin
bsharp5218-Jul-07 6:21
bsharp5218-Jul-07 6:21 
GeneralRe: Class structure with character array Pin
Mark Salsbery18-Jul-07 6:58
Mark Salsbery18-Jul-07 6:58 
bsharp52 wrote:
I am presuming that the compiler error was raised because the character array was not a fixed length.


Actually it was the constructor...

From the docs:

"The following represent the reasons C2552 may fire when an aggregate initialization is attempted
on a type:
The type has one or more user-defined constructors.
"

where agregate is defined as:

"An aggregate type is an array, class, or structure type which:
Has no constructors
Has no nonpublic members
Has no base classes
Has no virtual functions
"

Cheers!
Mark


Mark Salsbery
Microsoft MVP - Visual C++


"Great job team! Head back to base for debriefing and cocktails."

GeneralRe: Class structure with character array Pin
John R. Shaw19-Jul-07 2:38
John R. Shaw19-Jul-07 2:38 
GeneralRe: Class structure with character array Pin
Michael Dunn18-Jul-07 7:16
sitebuilderMichael Dunn18-Jul-07 7:16 
GeneralRe: Class structure with character array Pin
Mark Salsbery18-Jul-07 7:19
Mark Salsbery18-Jul-07 7:19 
QuestionHow to handle click event on icon.... Pin
Super Hornet18-Jul-07 5:37
Super Hornet18-Jul-07 5:37 
AnswerRe: How to handle click event on icon.... Pin
Mark Salsbery18-Jul-07 6:03
Mark Salsbery18-Jul-07 6:03 
GeneralRe: How to handle click event on icon.... Pin
Super Hornet18-Jul-07 6:43
Super Hornet18-Jul-07 6:43 
GeneralRe: How to handle click event on icon.... Pin
Mark Salsbery18-Jul-07 6:51
Mark Salsbery18-Jul-07 6:51 
GeneralRe: How to handle click event on icon.... Pin
Hans Dietrich18-Jul-07 8:31
mentorHans Dietrich18-Jul-07 8:31 
GeneralRe: How to handle click event on icon.... Pin
Mark Salsbery18-Jul-07 8:41
Mark Salsbery18-Jul-07 8:41 
GeneralRe: How to handle click event on icon.... Pin
Mark Salsbery18-Jul-07 14:42
Mark Salsbery18-Jul-07 14:42 
GeneralRe: How to handle click event on icon.... Pin
Hans Dietrich18-Jul-07 19:16
mentorHans Dietrich18-Jul-07 19:16 
GeneralRe: How to handle click event on icon.... Pin
Mark Salsbery18-Jul-07 19:51
Mark Salsbery18-Jul-07 19:51 
AnswerRe: How to handle click event on icon.... Pin
Hans Dietrich18-Jul-07 6:10
mentorHans Dietrich18-Jul-07 6:10 
GeneralRe: How to handle click event on icon.... Pin
Super Hornet18-Jul-07 6:38
Super Hornet18-Jul-07 6:38 
GeneralRe: How to handle click event on icon.... Pin
Hans Dietrich18-Jul-07 7:50
mentorHans Dietrich18-Jul-07 7:50 
QuestionActive Movie Window appearing while using Video Mixing Renderer 9 in windowless mode Pin
djin9418-Jul-07 4:21
djin9418-Jul-07 4:21 
QuestionHandling Double-Click in the header-control of a CListCtrl Pin
GuyM18-Jul-07 4:08
GuyM18-Jul-07 4:08 

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.