Re: Atl Property Sheet stays empty

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I suspect we are talking different languages... The way I read
the documentation for IShellPropSheetExt, it knows nothing
about OLE property pages, it only understands regular
PROPSHEETPAGE structures used with the regular property
sheet API CreatePropertySheetPage(). If you want framework
support, ATL doesn't provide it. You need WTL.

http://sourceforge.net/projects/wtl

--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@xxxxxxxx
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================

"Egbert Nierop (MVP for IIS)" <egbert_nierop@xxxxxxxxxxxxxx> wrote in
message news:eTfe1IagFHA.2444@xxxxxxxxxxxxxxxxxxxxxxx
> "Alexander Nickolov" <agnickolov@xxxxxxxx> wrote in message
> news:O5BGJlYgFHA.1204@xxxxxxxxxxxxxxxxxxxxxxx
>> Hmm, can't really help you much here...Why would you want
>> to create a dialog in the first place? You are supposed to be
>> using property pages instead of dialogs.
>
> I got lost..
> Why do you think I'm trying to create a Dialog?
> The Dialog I meantion implements IPropertyPageImpl.
>
> Please see my other posting about the very strange hidden windows. My code
> works but it looks as if SetWindowText is set on a *clone* of the control
> that I want to manipulate.
>
> Why are the controls cloned?
>
>
>> --
>> =====================================
>> Alexander Nickolov
>> Microsoft MVP [VC], MCSD
>> email: agnickolov@xxxxxxxx
>> MVP VC FAQ: http://www.mvps.org/vcfaq
>> =====================================
>>
>> "Egbert Nierop (MVP for IIS)" <egbert_nierop@xxxxxxxxxxxxxx> wrote in
>> message news:u4qVjbwfFHA.3316@xxxxxxxxxxxxxxxxxxxxxxx
>>> "Alexander Nickolov" <agnickolov@xxxxxxxx> wrote in message
>>> news:OfawsGmfFHA.2752@xxxxxxxxxxxxxxxxxxxxxxx
>>>> Reading through the documentation for IShellPropSheetExt::
>>>> AddPages, you are supposed to call CreatePropertySheetPage
>>>> and then the callback function passed as your first argument
>>>> with the returned handle and your second argument. You
>>>> are not supposed to create a dialog here.
>>>
>>> You might be very right here. The dialog could be created in the
>>> DialogProc when the message WM_INITDIALOG is posted. It simplifies
>>> programming as well. However, the MFC sample really creates a Dialog in
>>> the AddPages method. Worse, they have all the code to initialize stuff
>>> in that event. That's the reason, why I hardly can reuse that code.
>>>
>>> (MFC sample code was here...
>>>
>>> PlatSDK\Samples\netds\adsi\samples\DSUI\userext\userproppage)
>>>
>>>
>>> I'll let you know the results ! (if you're interested).
>>
>>
>


.



Relevant Pages

  • Re: Read/Write Cookie in a Module
    ... Peter Bromberg [C# MVP] wrote: ... "I can get this code to work in an aspx.vb class but not in a regular VB module: ... On my side, I wanted to explain to him why it was working in the Page but not outside of it (because in the Page, Response is a property);-) ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: FAQ software support changes
    ... Without having an edited FAQ - with an active Editor - posted to the ... >I see no evidence that any new users to the group read the posting. ... and so I question the real value of regular FAQ ... If you want wiki pages, ...
    (comp.lang.javascript)
  • Re: newbie 2Ques- SQL procedure calling another proc and Select statement
    ... I meant that the only regular result was the one listed in the SIG. ... this is what you meant as the FAQ for the group, ... straightforward way of conveying information. ... who's trying to police the group by criticizing more fundamental or ...
    (comp.databases.oracle.server)
  • Re: Is The MVP Award Dead Yet?
    ... Ask Shaq what he thinks about the regular season MVP award... ... Then again, it's not like there should be any expectation from the winner, ...
    (alt.sports.basketball.nba.la-lakers)
  • Re: [PATCH] serial: samsung.c: mark s3c24xx_serial_remove as __devexit
    ... One-third less calories than a regular year. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)