WinAsm Studio, The Assembly IDE - Free Downloads, Source Code
Sponsors
Articles
Programming Quick Start
32-bit Assembler is Easy
Porting Iczelion tutorials
What is FASM
Hard Drive Recovery
Wiring your own LAN
Personal menu
Welcome Guest
User:
Pass:
Register!
Resend Validation Email
 
Forum
Forum Rules Snippets forum rules

In this forum all the registered users may post their snippets of code they whish to share with the WinAsm Studio community following these basic rules:
* Only snippets of code are accepted in the topics of this forum.
* Discussions, suggestions, requests etc. must be posted in the "Discussions" topic.
* Do not post copyrighted material.
Administrators/moderators may edit, move or delete the entries that do not follow the preceding rules.

Pages (2) [1] 2 
> Snippets
Topic Title Topic Starter Replies Views Last Action
    Important Topics
No New Posts Pinned Pinned: Discussions about the snippets forum
all discussions about the snippets and the forum management will be posted here.
blues 5 3104 23rd November 2005 - 03:02 AM
Last Post by: shoorick
    Forum Topics
No New Posts   Add a button to an edit control
code snippet that adds a button (such as one for file or folder browsing) in an edit control.
shoorick 3 3660 16th October 2012 - 09:45 PM
Last Post by: garnerdawson
No New Posts   AppendSysMenu - append a menu item to system menu
use the GetSystemMenu to get a handle to the system menu and AppendMenu to append a menu item.
Jupiter 0 2162 27th November 2005 - 08:41 AM
Last Post by: Jupiter
No New Posts   Compare the last write time of two files
for both files, use CreateFile, GetFileTime and CloseHandle and then use CompareFileTime.
PhoBos 0 2419 25th October 2005 - 03:35 AM
Last Post by: PhoBos
No New Posts   Display a message box passing the strings directly
a macro allowing you to display a message box by passing strings instead of pointers to strings.
blues 2 3144 2nd January 2009 - 12:01 PM
Last Post by: xspider
No New Posts   Enable / Disable a dialog item
the EnableDlgItem procedure uses the GetDlgItem and EnableWindow API's to enable / disable a dialog item.
PhoBos 0 4382 25th October 2005 - 03:23 AM
Last Post by: PhoBos
No New Posts   Get Command Line Parameters
a command line parser that extracts the command line parameters written in pure assembler.
akyprian 0 5545 28th July 2008 - 09:50 PM
Last Post by: akyprian
No New Posts   Get file size given a pointer to the filename
you can use this macro for inline get filesize in the WIN32_FIND_DATA structure using the FindFirstFile and FindClose API's.
shoorick 0 3173 25th October 2005 - 05:07 AM
Last Post by: shoorick
No New Posts   Get Kernel32.dll Base
without using GetModuleHandle or LoadLibrary, that is, no import; useful for inline code.
Jupiter 9 650 27th October 2012 - 11:40 AM
Last Post by: seafunk
No New Posts   Get the size of a file in a nice formated string
use CreateFile to get a file handle, GetFileSize, StrFormatByteSize and CloseHandle API's.
PhoBos 0 1843 25th October 2005 - 03:31 AM
Last Post by: PhoBos
No New Posts   Get Windows OS information
code snippet for getting Windows & shell32 version, screen width, height & resolution.
PhoBos 0 3199 25th October 2005 - 04:28 AM
Last Post by: PhoBos
No New Posts   GetControlRect - Get the rect of a child control
this code snippet allows you get the co-ordinates of a child control within its parent window.
shantanu_gadgil 0 2796 7th February 2006 - 10:50 AM
Last Post by: shantanu_gadgil
No New Posts   MessageBox with a custom icon
a code snippet that allows you to display a message box with any icon of your choice.
Jupiter 8 5315 6th April 2010 - 03:49 AM
Last Post by: zomfori
No New Posts   Minimizing open windows
here is my source code how to minimize all open applications with COM
Vortex 1 1010 1st January 2011 - 08:53 AM
Last Post by: Gunner
No New Posts   PathStripPath - Shlwapi
I have always used PathStripPath from Shlwapi to extract the filename, here is my snippet solution
ragdog 5 2390 30th March 2011 - 02:39 PM
Last Post by: Gunner
No New Posts   Set the keyboard focus to a dialog item
the SetDlgItemFocus procedure uses the GetDlgItem and SetFocus API's to set the focus to a dialog item.
PhoBos 0 2963 25th October 2005 - 03:21 AM
Last Post by: PhoBos
No New Posts   Set tooltip for any window / control
this code snippet allows you to add a toolitp for any window / control such as a button, an edit control etc.
Jupiter 0 2435 25th January 2006 - 05:48 PM
Last Post by: Jupiter
No New Posts   Single Instance
restrict the program running instances to one & if already running set the program to foreground.
blues 1 1850 18th January 2010 - 06:41 PM
Last Post by: owner_bsp
No New Posts Suppress all keyboard messages
the following snippet lets you retrieve and remove all keyboard messages from the message queue.
akyprian 0 2643 8th April 2008 - 10:55 PM
Last Post by: akyprian
No New Posts   Template for a WinXP manifest file
include a WinXP manifest file in your project so that your binary has the WinXP look and feel.
blues 2 2852 3rd April 2010 - 02:10 AM
Last Post by: ragdog
No New Posts   Template of a DLL definition (.def) file
code snippet for exporting procedures from a dynamic link library with the help of a dll definition (.def) file.
blues 0 4616 24th October 2005 - 07:45 AM
Last Post by: blues
No New Posts   Tracing register contents
have you gone crazy trying to trace register contents? It happens when writing assembly programs.
te987 0 3084 7th September 2006 - 10:49 AM
Last Post by: te987
1 User(s) are browsing this forum (1 Guests and 0 Anonymous Users)
0 Members:

Pages (2) [1] 2 

New Posts  Open Topic (new replies)
No New Posts  Open Topic (no new replies)
Hot topic  Hot Topic (new replies)
No new  Hot Topic (no new replies)
Poll  Poll (new votes)
No new votes  Poll (no new votes)
Closed  Locked Topic
Moved  Moved Topic
Search this forum: 


 



Sponsors
Computer Science

Internet
C/C++
Hardware & PC maintenance

HiEditor

General Discussions
Suggestions/Bug Reports
WinAsm Studio

General Discussions
Suggestions/Bug Reports
WinAsm Studio FAQ
Multilingual User Interface
Add-Ins
Assembly Programming

Main
Newbies
Projects
Custom Controls
Snippets
Announcements & Rules

Announcements

General

Online Degrees - Distance Learning
The Heap
Russian
Google