Click here to Skip to main content
16,016,781 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: show background image on a window Pin
Ankit Aneja13-Aug-05 23:13
Ankit Aneja13-Aug-05 23:13 
GeneralRe: show background image on a window Pin
Achim Klein14-Aug-05 2:44
Achim Klein14-Aug-05 2:44 
GeneralSetThreadLocale() Pin
Ali Tavakol12-Aug-05 23:45
Ali Tavakol12-Aug-05 23:45 
GeneralProcess Priority Pin
Abd.Eskandari12-Aug-05 23:34
Abd.Eskandari12-Aug-05 23:34 
GeneralRe: Process Priority Pin
Bob Stanneveld13-Aug-05 6:07
Bob Stanneveld13-Aug-05 6:07 
GeneralRe: Process Priority Pin
S. Senthil Kumar13-Aug-05 7:01
S. Senthil Kumar13-Aug-05 7:01 
GeneralATL Pin
Pham van hoi12-Aug-05 22:35
Pham van hoi12-Aug-05 22:35 
GeneralSDI Doc/View, synchronizing splitter windows w/ DirectX Pin
dtowers2312-Aug-05 19:32
dtowers2312-Aug-05 19:32 
Hello,
I am attempting to write an app to do the following things:
1) Render DirectX in multiple views of the same document, where the views are created in a static splitter window.
2) Be able to easily synchronize updates between view windows (both windows display time series, want to be able to scroll through time series).
3) Be able to easily control the DirectX stuff (e.g. handle swap chains, window handles, etc.).

I've written most of this already, but not well, and am starting over from scratch (DirectX and synchronizing are handled by going back and forth between MainFrame and view objects).

I was originally trying to create the two views as based on one class (that would handle window specific rendering, other stuff), and make those views members of another class (to handle the DirectX code necessary to render two windows using a single device interface, and to easily synchronize data between the views). However, it seems to me (and I may be wrong) that the dynamic view creation is not capable of this, i.e. I could not create views in a splitter window that were members of another class (but I may be wrong about this, too).

Any suggestions on a clean and robust way to implement something like this? One thought I had was to put the code for dealing with both windows in the CDocument class (since it and the views have inherent access and messaging), but this seems like a kludge.

Any help would be appreciated - please ask me to clarify if the above doesn't seem clear.

GeneralUnion member cast and MFC message handling Pin
LiYS12-Aug-05 18:25
LiYS12-Aug-05 18:25 
GeneralRe: Union member cast and MFC message handling Pin
Jose Lamas Rios12-Aug-05 18:39
Jose Lamas Rios12-Aug-05 18:39 
GeneralRe: Union member cast and MFC message handling Pin
LiYS12-Aug-05 20:12
LiYS12-Aug-05 20:12 
GeneralRe: Union member cast and MFC message handling Pin
PJ Arends12-Aug-05 22:12
professionalPJ Arends12-Aug-05 22:12 
GeneralRe: Union member cast and MFC message handling Pin
LiYS12-Aug-05 23:58
LiYS12-Aug-05 23:58 
GeneralRe: Union member cast and MFC message handling Pin
Tim Smith13-Aug-05 5:02
Tim Smith13-Aug-05 5:02 
GeneralRe: Union member cast and MFC message handling Pin
PJ Arends13-Aug-05 6:51
professionalPJ Arends13-Aug-05 6:51 
GeneralIt seems that the MSComm can only transfer 40 bytes each time. Pin
pantao55112-Aug-05 17:37
pantao55112-Aug-05 17:37 
QuestionHow to get all zone in the DNS server? Pin
qtnl12-Aug-05 16:57
qtnl12-Aug-05 16:57 
Questionplease help me:build .c source file with VC++6,error LNK2001? Pin
fbzok12-Aug-05 16:50
fbzok12-Aug-05 16:50 
AnswerRe: please help me:build .c source file with VC++6,error LNK2001? Pin
Jose Lamas Rios12-Aug-05 18:32
Jose Lamas Rios12-Aug-05 18:32 
AnswerRe: please help me:build .c source file with VC++6,error LNK2001? Pin
sunit512-Aug-05 22:04
sunit512-Aug-05 22:04 
AnswerRe: please help me:build .c source file with VC++6,error LNK2001? Pin
fbzok12-Aug-05 22:08
fbzok12-Aug-05 22:08 
GeneralRe: please help me:build .c source file with VC++6,error LNK2001? Pin
Saurabh.Garg12-Aug-05 22:59
Saurabh.Garg12-Aug-05 22:59 
AnswerRe: please help me:build .c source file with VC++6,error LNK2001? Pin
fbzok12-Aug-05 23:18
fbzok12-Aug-05 23:18 
AnswerRe: please help me:build .c source file with VC++6,error LNK2001? Pin
fbzok13-Aug-05 4:30
fbzok13-Aug-05 4:30 
Generalrun single instance of app Pin
elephantstar12-Aug-05 12:17
elephantstar12-Aug-05 12: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.