Click here to Skip to main content
16,018,458 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalin fo needed on Gradient fill Pin
sarat22-Jan-08 1:53
sarat22-Jan-08 1:53 
QuestionRe: in fo needed on Gradient fill Pin
CPallini22-Jan-08 2:14
mveCPallini22-Jan-08 2:14 
GeneralRe: in fo needed on Gradient fill Pin
sarat22-Jan-08 4:04
sarat22-Jan-08 4:04 
GeneralRe: in fo needed on Gradient fill Pin
sarat22-Jan-08 18:56
sarat22-Jan-08 18:56 
GeneralRe: in fo needed on Gradient fill Pin
sarat22-Jan-08 20:38
sarat22-Jan-08 20:38 
GeneralTypedef nightmare! [modified] Pin
Lea Hayes22-Jan-08 1:47
Lea Hayes22-Jan-08 1:47 
QuestionRe: Typedef nightmare! Pin
CPallini22-Jan-08 2:04
mveCPallini22-Jan-08 2:04 
GeneralRe: Typedef nightmare! Pin
Lea Hayes22-Jan-08 2:28
Lea Hayes22-Jan-08 2:28 
Hi,

The design behind the software engineering works quite well (imo). Related classes are grouped within their respective namespaces, and the classes are reasonably straightforward to use.

I have found that the following works, so defines remain an option, but I would have rather used typedefs:

<br />
#define NESTED_CLASS Nested::TemplateClass<int><br />
namespace Root<br />
{<br />
class MyClass<br />
{<br />
public:<br />
MyClass(int input = NESTED_CLASS::constant_value);<br />
...<br />
};<br />
};<br />

GeneralRe: Typedef nightmare! Pin
CPallini22-Jan-08 2:38
mveCPallini22-Jan-08 2:38 
GeneralRe: Typedef nightmare! Pin
Lea Hayes22-Jan-08 3:02
Lea Hayes22-Jan-08 3:02 
QuestionRe: Typedef nightmare! Pin
CPallini22-Jan-08 3:21
mveCPallini22-Jan-08 3:21 
GeneralRe: Typedef nightmare! Pin
Lea Hayes22-Jan-08 3:28
Lea Hayes22-Jan-08 3:28 
GeneralRe: Typedef nightmare! Pin
Luc Pattyn22-Jan-08 2:12
sitebuilderLuc Pattyn22-Jan-08 2:12 
GeneralRe: Typedef nightmare! Pin
Lea Hayes22-Jan-08 2:17
Lea Hayes22-Jan-08 2:17 
GeneralRe: Typedef nightmare! Pin
CPallini22-Jan-08 2:18
mveCPallini22-Jan-08 2:18 
GeneralRead Data from Serial Port Pin
Susanmat22-Jan-08 1:28
Susanmat22-Jan-08 1:28 
GeneralRe: Read Data from Serial Port Pin
Cedric Moonen22-Jan-08 1:32
Cedric Moonen22-Jan-08 1:32 
JokeRe: Read Data from Serial Port Pin
CPallini22-Jan-08 1:57
mveCPallini22-Jan-08 1:57 
GeneralRe: Read Data from Serial Port Pin
Cedric Moonen22-Jan-08 3:12
Cedric Moonen22-Jan-08 3:12 
JokeRe: Read Data from Serial Port Pin
CPallini22-Jan-08 3:21
mveCPallini22-Jan-08 3:21 
GeneralRe: Read Data from Serial Port Pin
Cedric Moonen22-Jan-08 3:51
Cedric Moonen22-Jan-08 3:51 
GeneralRe: Read Data from Serial Port Pin
Susanmat22-Jan-08 18:30
Susanmat22-Jan-08 18:30 
GeneralRe: Read Data from Serial Port Pin
Cedric Moonen22-Jan-08 20:25
Cedric Moonen22-Jan-08 20:25 
GeneralTry-catch works with structured exception Pin
George_George22-Jan-08 0:11
George_George22-Jan-08 0:11 
GeneralRe: Try-catch works with structured exception Pin
CPallini22-Jan-08 2:17
mveCPallini22-Jan-08 2: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.