Click here to Skip to main content
15,906,645 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Using a dialog as a control Pin
Roman Nurik1-Aug-02 10:05
Roman Nurik1-Aug-02 10:05 
GeneralRe: Using a dialog as a control Pin
moredip1-Aug-02 11:02
moredip1-Aug-02 11:02 
GeneralRe: Using a dialog as a control Pin
Roman Nurik1-Aug-02 21:21
Roman Nurik1-Aug-02 21:21 
GeneralRe: Using a dialog as a control Pin
moredip1-Aug-02 10:51
moredip1-Aug-02 10:51 
GeneralRe: Using a dialog as a control Pin
Chris Losinger1-Aug-02 10:36
professionalChris Losinger1-Aug-02 10:36 
GeneralRe: Using a dialog as a control Pin
moredip1-Aug-02 10:53
moredip1-Aug-02 10:53 
GeneralRe: Using a dialog as a control Pin
Joseph Dempsey1-Aug-02 11:00
Joseph Dempsey1-Aug-02 11:00 
GeneralRe: Using a dialog as a control Pin
moredip1-Aug-02 11:10
moredip1-Aug-02 11:10 
I've just been playing around with that.

I modified the resource so that it worked great as an embedded control, and noted what GetStyle() returned. I then restored it to how it was originally.

Then I did the following. It is strange:
...
...
	DWORD style = m_pVCR->GetStyle();
	TRACE( "DEmbeddedVCR PRE style = %x\n", style ); //shows style as 84c808c4
	
	m_pVCR->ModifyStyle( 0xffffffff, 0x40000844  );
	
	style = m_pVCR->GetStyle();
	TRACE( "DEmbeddedVCR POST style = %x\n", style ); //shows style as 44000844
...
...


note that the ModifyStyle call doesn't work.

I'm not sure what's going on here...
GeneralRe: Using a dialog as a control Pin
Chris Losinger1-Aug-02 11:37
professionalChris Losinger1-Aug-02 11:37 
GeneralRe: Using a dialog as a control Pin
moredip1-Aug-02 11:43
moredip1-Aug-02 11:43 
GeneralRe: Using a dialog as a control Pin
Chris Losinger1-Aug-02 11:46
professionalChris Losinger1-Aug-02 11:46 
GeneralRe: Using a dialog as a control Pin
moredip1-Aug-02 11:51
moredip1-Aug-02 11:51 
GeneralRe: Using a dialog as a control Pin
Chris Losinger1-Aug-02 11:52
professionalChris Losinger1-Aug-02 11:52 
GeneralRe: Using a dialog as a control Pin
moredip1-Aug-02 11:57
moredip1-Aug-02 11:57 
GeneralRe: Using a dialog as a control Pin
moredip1-Aug-02 12:20
moredip1-Aug-02 12:20 
Generalerror doing a select distinct Pin
ns1-Aug-02 9:35
ns1-Aug-02 9:35 
GeneralRe: error doing a select distinct Pin
Ravi Bhavnani1-Aug-02 9:44
professionalRavi Bhavnani1-Aug-02 9:44 
GeneralRe: error doing a select distinct Pin
ns1-Aug-02 9:51
ns1-Aug-02 9:51 
GeneralRe: error doing a select distinct Pin
Ravi Bhavnani1-Aug-02 9:57
professionalRavi Bhavnani1-Aug-02 9:57 
GeneralRe: error doing a select distinct Pin
achandra0071-Aug-02 9:58
achandra0071-Aug-02 9:58 
GeneralRe: error doing a select distinct Pin
Joaquín M López Muñoz1-Aug-02 9:59
Joaquín M López Muñoz1-Aug-02 9:59 
GeneralIts resolved, thanks! Pin
ns1-Aug-02 10:12
ns1-Aug-02 10:12 
GeneralVC++ 7.0's Attributes Pin
thefirst_bigd1-Aug-02 9:29
thefirst_bigd1-Aug-02 9:29 
GeneralRe: VC++ 7.0's Attributes Pin
Joaquín M López Muñoz1-Aug-02 9:44
Joaquín M López Muñoz1-Aug-02 9:44 
GeneralRe: VC++ 7.0's Attributes Pin
thefirst_big1-Aug-02 11:10
sussthefirst_big1-Aug-02 11:10 

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.