Click here to Skip to main content
15,917,709 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalemail and www link on a dialog Pin
d.schaeflein22-Jul-02 8:39
d.schaeflein22-Jul-02 8:39 
GeneralRe: email and www link on a dialog Pin
Steve L.22-Jul-02 9:22
Steve L.22-Jul-02 9:22 
GeneralRe: email and www link on a dialog Pin
d.schaeflein22-Jul-02 22:48
d.schaeflein22-Jul-02 22:48 
GeneralC/C++ problem. Pin
Michael Liu22-Jul-02 8:38
Michael Liu22-Jul-02 8:38 
GeneralRe: C/C++ problem. Pin
Bill Wilson22-Jul-02 8:46
Bill Wilson22-Jul-02 8:46 
GeneralRe: C/C++ problem. Pin
realfly22-Jul-02 15:24
realfly22-Jul-02 15:24 
GeneralRe: C/C++ problem. Pin
Alexandru Savescu22-Jul-02 21:47
Alexandru Savescu22-Jul-02 21:47 
GeneralCSliderCtrl help Pin
JennyP22-Jul-02 8:31
JennyP22-Jul-02 8:31 
Hello,

I've searched the MSDN to no avail...

I've created a CSlider control on a DialogBar and am constantly getting an assertion error (hWnd is not valid) when I try to set the range (CSliderCtrl::SetRange(0, 50, FALSE)). It's as though I'm trying to set it before the slider control window is 'valid' (or created?), however, the error occurs after I see the slider physically on my DialogBar, so I know it exists at the time I try to SetRange().

If I 'ignore' the first assertion error, all subsequent executions work fine.

At what time in the code execution (standard wizard or MFC methods) may I set the slider control's parameters without error? Or does anyone know what is going wrong with this scenario? I really want to learn. Thanks!

JennyP
GeneralRe: CSliderCtrl help Pin
benjymous22-Jul-02 22:39
benjymous22-Jul-02 22:39 
GeneralRe: CSliderCtrl help Pin
JennyP23-Jul-02 6:45
JennyP23-Jul-02 6:45 
GeneralRe: CSliderCtrl help Pin
benjymous23-Jul-02 11:10
benjymous23-Jul-02 11:10 
GeneralICMP Messages Pin
orcun colak22-Jul-02 8:14
orcun colak22-Jul-02 8:14 
Questioninformation for IExplorer plugins? Pin
OmarLodhi22-Jul-02 7:50
OmarLodhi22-Jul-02 7:50 
Generaldisabling menus Pin
SilentWarrior22-Jul-02 7:38
SilentWarrior22-Jul-02 7:38 
GeneralRe: disabling menus Pin
Shog922-Jul-02 12:56
sitebuilderShog922-Jul-02 12:56 
GeneralRe: disabling menus Pin
SilentWarrior23-Jul-02 7:31
SilentWarrior23-Jul-02 7:31 
GeneralRe: disabling menus Pin
Shog923-Jul-02 8:59
sitebuilderShog923-Jul-02 8:59 
Questiongaining access to 16-bit process space ? Pin
bisserke22-Jul-02 7:29
bisserke22-Jul-02 7:29 
QuestionLaunch a new instance from SDI app ? Pin
yarp22-Jul-02 6:15
yarp22-Jul-02 6:15 
GeneralModifyStyle Pin
Hans Ruck22-Jul-02 6:02
Hans Ruck22-Jul-02 6:02 
GeneralRe: ModifyStyle Pin
Paul M Watt22-Jul-02 6:27
mentorPaul M Watt22-Jul-02 6:27 
GeneralRe: ModifyStyle Pin
Hans Ruck22-Jul-02 6:43
Hans Ruck22-Jul-02 6:43 
GeneralRe: ModifyStyle Pin
Paul M Watt22-Jul-02 8:33
mentorPaul M Watt22-Jul-02 8:33 
Questionclassview info not accessible ??? Pin
ns22-Jul-02 5:38
ns22-Jul-02 5:38 
AnswerRe: classview info not accessible ??? Pin
Renjith Ramachandran22-Jul-02 6:06
Renjith Ramachandran22-Jul-02 6:06 

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.