How to prevent skinning of specific Dialogs

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #50859
    Support
    Keymaster

      TsSkinManager component have the OnSysDlgInit event with two params:

      DlgData: TacSysDlgData

      var AllowSkinning: Boolean

      DlgData contains a Handle of dialog which will be skinned.

      If AllowSkinning defined to False, then dialog will not be skinned.

      Otherwise, you can wait, I plan add support of skins to such file dialogs.

      #50890
      cypheros
      Participant
        'Support' wrote:

        TsSkinManager component have the OnSysDlgInit event with two params:

        DlgData: TacSysDlgData

        var AllowSkinning: Boolean

        DlgData contains a Handle of dialog which will be skinned.

        If AllowSkinning defined to False, then dialog will not be skinned.

        Otherwise, you can wait, I plan add support of skins to such file dialogs.

        How can I find out the type of the dialog or the component the dialog is belonging to?

        DlgData.WindowHandle gives me only the handle of the dialog window and I can't find a connection to the TOpenDialog.

        GetClassName is '#32770' and GetWindowName is '' for all Systemdialogs.

        #50927
        Support
        Keymaster

          So, we have only a Handle of the dialog when this system dialog is shown.

          We can search there some controls which are specific only for File Dialogs.

          You can search the “travelband” window there. If such window exists then this dialog is a File Dialog.

        Viewing 3 posts - 1 through 3 (of 3 total)
        • You must be logged in to reply to this topic.