Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
H

halibobo

@halibobo
About
Posts
5
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Look for a friend
    H halibobo

    Thanks for your reply,From your talking, i have trust in the future,through I writing this reply spend much time. "Apart from COM(in your email id) there is nothing that resembles with C++/MFC/ATL in general " ----I don't know others web I can write this message. :)

    C / C++ / MFC com help question

  • Look for a friend
    H halibobo

    I am a Chinese girl,study Programming presently.Last year,I graduated from university.Now I an a software engineer .My English is not very good,so I want to find a friend who can keep Email with me in English .Beacause I want to study English truely. If you can help me,please write a letter to me. My E-mail:yangjinna66@163.com My MSN:halibobo-520@163.com I am waiting for your letter! thank you! //??????????? ,?????????????,??,??????,??????????????

    C / C++ / MFC com help question

  • how to change menu font?
    H halibobo

    I am a Chinese girl.My English is not very good. I wish we can advance together.

    C / C++ / MFC tutorial question help

  • how to change menu font?
    H halibobo

    Setting Fonts for Menu-Item Text Strings This topic contains an example from an application that uses owner-drawn menu items in a menu. The menu contains items that set the attributes of the current font, and the items are displayed using the appropriate font attribute. Here is how the menu is defined in the resource-definition file. Note that the strings for the Regular, Bold, Italic, and Underline menu items are assigned at run time, so their strings are empty in the resource-definition file. MainMenu MENU BEGIN POPUP "&Character" BEGIN MENUITEM "", IDM_REGULAR MENUITEM SEPARATOR MENUITEM "", IDM_BOLD MENUITEM "", IDM_ITALIC MENUITEM "", IDM_ULINE END END The application's window procedure processes the messages involved in using owner-drawn menu items. The application uses the WM_CREATE message to do the following: Set the MF_OWNERDRAW flag for the menu items. Set the text strings for the menu items. Obtain handles of the fonts used to draw the items. Obtain the text and background color values for selected menu items. The text strings and font handles are stored in an array of application-defined MYITEM structures. The application-defined GetAFont function creates a font that corresponds to the specified font attribute and returns a handle to the font. The handles are destroyed during the processing of the WM_DESTROY message. During the processing of the WM_MEASUREITEM message, the example gets the width and height of a menu-item string and copies these values into the MEASUREITEMSTRUCT structure. The system uses the width and height values to calculate the size of the menu. During the processing of the WM_DRAWITEM message, the menu item's string is drawn with room left next to

    C / C++ / MFC tutorial question help

  • Writing to Registry
    H halibobo

    If you can speak Chinese,you can go to"www.csdn.net" .He will help you ! :)

    C / C++ / MFC windows-admin
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups