Tip Bank

DevX - Software Development Resource

Animating the Window on Showing or Hiding

You can easily add animation when showing or hiding a window using the AnimateWindow API. There are three types of animation: roll, slide, and alpha-blended fade. The declaration of API

DevX - Software Development Resource

How to Alleviate

There are a few reasons why one would see this error, but the most common is in the ordering of the MFC header files. Over time, Microsoft has weeded out

DevX - Software Development Resource

ShowColorDialog – Show the standard color dialog

Private Type ChooseColorStruct lStructSize As Long hwndOwner As Long hInstance As Long rgbResult As Long lpCustColors As Long flags As Long lCustData As Long lpfnHook As Long lpTemplateName As StringEnd

DevX - Software Development Resource

ShowHtmlHelp – Show a HTML Help page

Private Declare Function HtmlHelpTopic Lib “hhctrl.ocx” Alias “HtmlHelpA” _ (ByVal hwnd As Long, ByVal lpHelpFile As String, ByVal wCommand As Long, _ ByVal dwData As String) As Long’A HTML Help