|
 |
shabbir
I was a FAN of Resource hacker software and always wanted to create a software like them but one day I just thought lets make a mini version of resource hacker and so wrote a program to change the ICON of an exe or dll file. The idea came to me when I saw programs that can show you the ICONS in an...
|
|
64 |
40,715 |
|
 |
d_arin100
Introduction
This article is about how static or implicit linking can be done and how the client program gets the information from Dynamic link library (DLL). The two ways we can link a DLL to the client program. One is “Static linking” another is “Dynamic linking”.
Here our topic is static...
|
|
7 |
2,230 |
|
 |
d_arin100
Introduction
Event is one type of kernel object that Windows provides for thread synchronization. Here I shall describe the Win32 event as well as MFC event. MFC's CEvent class encapsulates Win32 event objects. Generally events are used in cases when one thread is supposed to start its job...
|
|
2 |
2,108 |
|
 |
d_arin100
Introduction
This article is about how we can create controls dynamically without using wizard and how to handle notification for dynamically created control. Here I will try to explain it by the notification BN_CLICKED for a button.
Working
Following three things we need to do for...
|
|
2 |
1,289 |
|
 |
d_arin100
Introduction
This article will explain how we can explicitly link a DLL and why this approach is better than the implicit linking mechanism of a DLL. Explicit linking is more appropriate for interpreted languages such as Visual Basic, but we can use it from C++. In this linking mechanism we...
|
|
2 |
1,943 |
|
 |
d_arin100
Introduction
Here I shall describe the methods of how data is exchanged between windows of different processes. Communication between windows means one window process send/post a message/data to the other window process. The Windows operating system provides the mechanism for communications and...
|
|
2 |
2,842 |
|
 |
d_arin100
Introduction
Subclassing is a very powerful tool in creating your own custom controls and modifying the standard windows interface. This is typically done by replacing the Window Procedure for a window with application-defined window procedure. Subclassing is a technique that allows an...
|
|
2 |
1,968 |
|
 |
d_arin100
Introduction
Socket is an interface between an application process and transport layer. The application process can send or receive messages to/from another application process (local or Network) through a socket. Winsock is the lowest level Windows API for TCP/IP programming. Part of the code...
|
|
1 |
1,622 |
|
|
shabbir
Define a CBrush pointer in your dialog Class
CBrush *brush;
Initialize the brush pointer in the constructor of your Dialog
brush = new CBrush(RGB(49,49,49));
Add the WM_CTLCOLR Message handler for the dialog and add the following code
switch (nCtlColor) {
case...
|
|
18 |
29,290 |
|
 |
Obaid
Introduction
Windows communicate with the application by sending messages. There are many Windows messages and each message is represented by a unique integer value.In WINDOWS.H there are standard names for these messages.
There are some common Windows messages like:-...
|
|
2 |
5,079 |
|
|
coderzone
Introduction
There a quite a few ways to start a process
C run-time libraries
system()
_exec()
_spawn()
Win32 API
|
|
2 |
2,308 |
|
 |
alok
Introduction
Hello Guys, Back again with new Article. this time I am going to explain Enumeration of Windows service, it’s Starting & Stopping , Changing Startup Type between Automatic, Manual And Disable, And Most Important One Deleting the Service(Please handle this Option With Care, if this...
|
|
4 |
6,759 |
|
|
shabbir
This article will show you how you can convert all your applications from Windows 98 looks to the Windows XP looks. Its just too simple and does not require any code changes from the developers point of view. Other all things are expected to work as normal.
Note that MSDN requires you to call...
|
|
17 |
17,600 |
|
|
shabbir
MFC does not allow to trap all the events on the CButton control but some commonly used events like BN_CLICKED and BN_DOUBLECLICKED and so to trap a right mouse button events on a CButton MFC you need to derive a new class from the CButton.
MyButton.h
class CMyButton : public CButton
{
//...
|
|
16 |
9,576 |
|
|
shabbir
Create a Dialog based application and add a menu.
First you need to declare some variables in the the header file of your Dialog.
#define MYWM_NOTIFYICON (WM_USER+1)
//User defined messages.
CMenu m_TrayMenu;
//Displaying menu when right clicked on the system tray....
|
|
21 |
25,844 |
|
|
subhasish
Consider a simple EXE COM server, FooServer. Let's assume FooServer exposes an object Foo that has a method Bar:
IFoo = interface
procedure Bar;
end;
Let's also assume that FooServer has no clue what multithreading is and is therefore single-threaded just like any normal application....
|
|
3 |
7,230 |
|
 |
shabbir
Introduction
Let us see this in details of implementation
How Modal and Modeless Dialogs are implemented by Windows
How Modal Dialog works
How Modeless Dialog works
Introduction
There are two types of dialog boxes they are modal and modeless. The most common dialog boxes are modal. A...
|
|
1 |
5,615 |
|
|
oogabooga
Introduction
Here's a little program I wrote that shows the color under the cursor as well as the cursor's position. It's useful for grabbing colors from websites or pictures.
The Code
It's in Win32 C. I compile it with gcc under Dev-C++. In order to get it to compile on MSVC++ (which I've...
|
|
1 |
2,803 |
|
|
shabbir
When you insert a picture on a Dialog box the main aim of your dialog box is just not to display the Resource bitmaps that are added at compile time but to display the image from a file. Now to display a bitmap I could not find many good resources but if you google out with the keyword LoadPic.exe...
|
|
44 |
65,472 |
|
|
aisha.ansari84
INTRODUCTION
This code will help us to understand the working of a pop3 client server through sockets.
BACKGROUND
Through this any person can retrive certain details of his mails such as the subject , the size. The person needs to know about his username , his password, IP address...
|
|
1 |
3,159 |