乡下人产国偷v产偷v自拍,国产午夜片在线观看,婷婷成人亚洲综合国产麻豆,久久综合给合久久狠狠狠9

  • <output id="e9wm2"></output>
    <s id="e9wm2"><nobr id="e9wm2"><ins id="e9wm2"></ins></nobr></s>

    • 分享

      【原創(chuàng)】SkinMegic部分函數(shù)的使用 - lvan的日志 - 網(wǎng)易博客

       xihayouyi 2011-01-08

      1.SetDialogSkin

      int SetDialogSkin(
              LPCTSTR pszName       //Specifies the name of the skin object.
              );
      Use SetDialogSkin to set default dialog skin. newly-created dialog will automatically be skinned after this function called. SetDialogSkin have no effect on dialog before the function called. If the dialog has menu, must use SetWindowSkin to set the dialog skin.
          這個(gè)函數(shù)用來設(shè)置對(duì)話框的默認(rèn)的皮膚。如果是新創(chuàng)建的對(duì)話框,那么會(huì)自動(dòng)的套用此函數(shù)所設(shè)置的對(duì)話框樣式。如果是此函數(shù)調(diào)用之前創(chuàng)建的對(duì)話框則沒有任何作用。而且如果創(chuàng)建的對(duì)話框有菜單,則必須調(diào)用此函數(shù)。
      2.SetWindowSkin
      int SetWindowSkin(
              HWND  hWnd,           //Handle to the window to be set skin
              LPCTSTR pszName       //Specifies the name of the skin object.
              );
      Use SetWindowSkin to skin the standard windows - with rectangular opaque client area and region-based non-client area, menu bar, system/maximize/minimize/close buttons, caption and sizing edges and corners. 
      這個(gè)函數(shù)用來設(shè)置標(biāo)準(zhǔn)窗口的皮膚。所謂標(biāo)準(zhǔn)窗口,就是有矩形客戶區(qū)和非客戶區(qū),菜單條,系統(tǒng)/最大/最小/關(guān)閉按鈕,標(biāo)題以及可變化的邊緣。(一般情況下就是說的單文檔窗口)
      3.SetShapeWindowSkin
      int SetShapeWindowSkin(
              HWND  hWnd,           //Handle to the window to be set skin
              LPCTSTR pszName       //Specifies the name of the skin object.
              );

      Use SetShapeWindowSkin function to skin application-specific windows without non-client area and menu bar. These windows can have absolutely any shape or even be translucent。

      此函數(shù)用來設(shè)置沒有非客戶區(qū)和菜單條的特殊的窗口。這樣的窗口可以使任何形狀的,甚至是半透明的。
      4.SetSingleDialogSkin
      int SetSingleDialogSkin(
              HWND  hWnd,           //Handle to the window to be set skin
              LPCTSTR pszName       //Specifies the name of the skin object.
              );

      Use SetSingleDialogSkin to skin the standard dialog If the dialog has menu, must use SetWindowSkin to set the dialog skin.

      這個(gè)函數(shù)用來設(shè)置單個(gè)的對(duì)話框的皮膚,就是說它只對(duì)當(dāng)前使用的對(duì)話框窗口起作用。但是如果對(duì)話框帶有菜單,則必須要調(diào)用SetWindowSkin 函數(shù)。

       

      5.SetControlSkin

      int SetControlSkin(
              HWND  hWnd,           //Handle to the window to be set skin
              LPCTSTR pszName,       //Specifies the name of the skin object.
              LPCTSTR pszOwnerSkinName //Specifies the owner name of the pszName.
              );
      pszOwnerSkinName
      [in] Specifies the Owner name of the skin control object. SkinMagic use a tree to organize all skin objects, the owner is the parent object of a child object.

      Use SetControlSkin to skin the individual control. you only use this API with the standard controls.

      你可以使用此函數(shù)來對(duì)標(biāo)準(zhǔn)的控件進(jìn)行換膚。

       

      6.LoadSkinFile

      int LoadSkinFile(
              LPCTSTR pszFileName        //the name of the skin file
              );
      LoadSkinFile function load skin resource from disk file.
      此函數(shù)用來加載皮膚文件。
      
              

      其它函數(shù)我覺得沒有太大用處。如果我們使用了皮膚,我們?nèi)匀豢梢宰约豪L制界面,它對(duì)于某些消息有截?cái)?,但是?duì)大部分消息還是可以重載的。

        本站是提供個(gè)人知識(shí)管理的網(wǎng)絡(luò)存儲(chǔ)空間,所有內(nèi)容均由用戶發(fā)布,不代表本站觀點(diǎn)。請(qǐng)注意甄別內(nèi)容中的聯(lián)系方式、誘導(dǎo)購買等信息,謹(jǐn)防詐騙。如發(fā)現(xiàn)有害或侵權(quán)內(nèi)容,請(qǐng)點(diǎn)擊一鍵舉報(bào)。
        轉(zhuǎn)藏 分享 獻(xiàn)花(0

        0條評(píng)論

        發(fā)表

        請(qǐng)遵守用戶 評(píng)論公約

        類似文章 更多