Click here to Skip to main content
15,888,243 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Exception Handling using catch(...) [modified] Pin
Stuart Dootson5-Jul-09 21:50
professionalStuart Dootson5-Jul-09 21:50 
GeneralRe: Exception Handling using catch(...) Pin
vijay.victory5-Jul-09 23:27
vijay.victory5-Jul-09 23:27 
GeneralRe: Exception Handling using catch(...) Pin
Stuart Dootson5-Jul-09 23:45
professionalStuart Dootson5-Jul-09 23:45 
GeneralRe: Exception Handling using catch(...) Pin
vijay.victory6-Jul-09 0:13
vijay.victory6-Jul-09 0:13 
GeneralRe: Exception Handling using catch(...) Pin
vijay.victory6-Jul-09 0:44
vijay.victory6-Jul-09 0:44 
QuestionMFC multi-views print Pin
windyhigh5-Jul-09 18:19
windyhigh5-Jul-09 18:19 
AnswerRe: MFC multi-views print Pin
windyhigh5-Jul-09 22:05
windyhigh5-Jul-09 22:05 
QuestionDesign suggestion and the decorator design pattern Pin
The_Bob5-Jul-09 12:29
The_Bob5-Jul-09 12:29 
Hi, I'm redesigning the GUI for the game Jagged Alliance 2, or at least having a go at it - I'm a bit stuck trying to figure out proper inheritance hierarchy and probably got some design concepts mixed up.

To the point - I've established that I'll need to start the hierarchy with a simple area abstract class, with the class interface allowing for positioning it on screen (and in containers, stacking - omitted in the graph), a container derivative for nesting/organizing elements, an element class (later - buttons and other widgets) and a text node (for text/options).

The problem begins when I need some of these elements to say, have a background or be interactive. I don't want build that functionality into every part (no point in tracking mouse activity over non-interactive text), nor do I want to end up with 30 classes where 10 would suffice (creating variants with mouse support/backgrounds for each). So I thought a decorator would be helpful, but now I don't know how exactly can I implement it in this case. In the decorator, do I need to delegate each interface call to the decorated object explicitly ?

the class graph[^]
QuestionMy Heap implementation is not working...please have a look frnds.. Pin
pavarathyRock5-Jul-09 5:03
pavarathyRock5-Jul-09 5:03 
AnswerRe: My Heap implementation is not working...please have a look frnds.. Pin
Iain Clarke, Warrior Programmer5-Jul-09 6:31
Iain Clarke, Warrior Programmer5-Jul-09 6:31 
AnswerRe: My Heap implementation is not working...please have a look frnds.. Pin
harold aptroot5-Jul-09 7:54
harold aptroot5-Jul-09 7:54 
GeneralRe: My Heap implementation is not working...please have a look frnds.. Pin
pavarathyRock6-Jul-09 5:22
pavarathyRock6-Jul-09 5:22 
GeneralRe: My Heap implementation is not working...please have a look frnds.. Pin
harold aptroot6-Jul-09 5:30
harold aptroot6-Jul-09 5:30 
GeneralRe: My Heap implementation is not working...please have a look frnds.. Pin
pavarathyRock6-Jul-09 6:11
pavarathyRock6-Jul-09 6:11 
GeneralRe: My Heap implementation is not working...please have a look frnds.. Pin
harold aptroot6-Jul-09 6:44
harold aptroot6-Jul-09 6:44 
AnswerRe: My Heap implementation is not working...please have a look frnds.. Pin
David Crow5-Jul-09 11:46
David Crow5-Jul-09 11:46 
Questionint in CListBox Pin
prithaa5-Jul-09 3:47
prithaa5-Jul-09 3:47 
AnswerRe: int in CListBox Pin
Sarath C5-Jul-09 4:26
Sarath C5-Jul-09 4:26 
GeneralRe: int in CListBox Pin
prithaa5-Jul-09 4:51
prithaa5-Jul-09 4:51 
GeneralRe: int in CListBox Pin
Sarath C5-Jul-09 5:16
Sarath C5-Jul-09 5:16 
GeneralRe: int in CListBox Pin
prithaa5-Jul-09 5:53
prithaa5-Jul-09 5:53 
QuestionDialog Box won't Resize Larger Pin
Tom Hubin4-Jul-09 22:21
Tom Hubin4-Jul-09 22:21 
AnswerRe: Dialog Box won't Resize Larger Pin
PJ Arends5-Jul-09 6:52
professionalPJ Arends5-Jul-09 6:52 
QuestionMemory Issues in developing 64 bit Driver in “Windows 64 bit standard edition” ? Pin
ta_isr4-Jul-09 22:01
ta_isr4-Jul-09 22:01 
QuestionRace Condition Pin
SNI4-Jul-09 20:53
SNI4-Jul-09 20:53 

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.