Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Game Development Dictionary


Hungarian Notation


A list of suggested prefixes to variable and function names created by Charles Simonyi. There are different versions for both Visual Basic and Visual C++. VC++: b - boolean operator by - byte (unsigned char) c - char cx / cy - size stored in a short dw - DWORD; double word, unsigned long fn - function h - handle i - integer l - long n - short int p - pointer s - string sz - ASCIIZ string terminated with a zero (null-terminated) w - WORD (unsigned int) x, y - short used as coordinates These can be combined in many cases. For instance, lpsz - long pointer to a null-terminated ASCII string. Visual Basic (almost all Visual Basic notations are three letters long): bln - Boolean chk - Check box cbo - Combo box cmd - Command button cur - Currency dtm - Date/Time (variant) dlg - Dialog Box (also used for common dialog control) dbl - Double (double-precision float) frm - Form fra - Frame hsb - Horizontal scroll bar img - Image box int - Integer lbl - Label lst - List box lng - Long mnu - Menu opt - Option (radio) button pic - Picture box shp - Shape or Line sng - Single str - String txt - Text box vnt - Variant vsb - Vertical scroll bar


0 Comments


PARTNERS