please dont rip this site Prev Next

ScreenSaverConfigureDialog info

The ScreenSaverConfigureDialog function receives messages sent to a screen saver’s configuration dialog box. A screen saver that allows user configuration must define this function.

BOOL ScreenSaverConfigureDialog(

    HWND hDlg,

// handle of dialog box

    UINT message,

// message

    WPARAM wParam,

// first message parameter

    LPARAM lParam

// second message parameter

   );

Parameters

hDlg
Identifies the configuration dialog box.
message
Specifies the message.
wParam
Specifies additional message-specific information.
lParam
Specifies additional message-specific information.

Return Values

If the function processes the message, it should return TRUE; otherwise, it should return FALSE, except in response to a WM_INITDIALOG message. In response to a WM_INITDIALOG message, ScreenSaverConfigureDialog should return FALSE if it calls the SetFocus function to set the keyboard focus to one of the controls in the dialog box. Otherwise, the function should return TRUE, in which case the system sets the keyboard focus to the first control in the dialog box that can be given the focus.

Remarks

The dialog box template for the configuration dialog box must have the DLG_SCRNSAVECONFIGURE identifier.

The dialog box procedure is used only if the application specifies the default window class (WC_DIALOG) for the dialog box. The application uses the default class if no explicit class is given in the dialog box template. Although the dialog box procedure is similar to a window procedure, it must not call the DefWindowProc function to process unwanted messages. Unwanted messages are processed internally by the default dialog box procedure.

The ScreenSaverConfigureDialog function must be exported by including it in the EXPORTS statement in the application’s module-definition (.DEF) file.

See Also

DefWindowProc, RegisterDialogClasses, SetFocus 


file: /Techref/os/win/api/win32/func/src/f75.htm, 3KB, , updated: 2000/4/7 11:06, local time: 2024/11/25 01:38,
TOP NEW HELP FIND: 
3.147.62.5:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.org/techref/os/win/api/win32/func/src/f75.htm"> ScreenSaverConfigureDialog</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to massmind.org!

 

Welcome to massmind.org!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .