Home   About us   Contact us   Site map   فارسی 
Username 
Password 
Forget Password?
Help!
Keywords 
Change Lan.
To all IT professionals looking for challenge. Rwinco invites you to send your resume for review to info@rwinco.com.
 
.: R-Dev
  Keywords:
  To change English/Persian click here!
 Related Links :: 13 Item(s) found!
1 2
 
1. -Creating and compiling resources.

-A resource script file is a just a simple text file with the extension .rc that lists resources.

2. -Resource Files Made Easy.

-How Delphi uses standard Windows-format resource files: icons, bitmaps and cursors.

3. -How to send and handle a custom Windows message?

Delphi allows you to define your own messages when can then be posted on the Windows message queue and then handled by your own custom handler in your application.

4. -How to detect active window and terminate it

-Hi, how do I detect the exe name of the active window and terminate its process?

5. -Controlling the number of application instances

-Handling previous instances of an application
Once you know where to place the code to control the number of running instances of your application, we can proceed with a discussion on the various "Am I running" code checks. Along the process we'll also discuss several Windows API programming techniques.

6. -A Non Full-Screen Dialog Class for Windows CE

-Showing a non full screen dialog under pocket pc is actually pretty easy. All you have to do is set the m_bFullScreen member of the CDialog class to FALSE in your dialog's constructor. It's after making a dialog non full screen that the problem begins. When you invoke any one of the SIP components, i.e. Keyboard, Transcriber, Block Recognizer etc. a dialog created in the above process will loose all its posture and will go full screen! To stop this erratic behavior, all you need to do is handle two windows messages, WM_ACTIVATE and WM_SETTINGCHANGE, and just call their default implementation in CWnd. So, to put it all together, I've written a dialog class that handles all these, so that you don't have to hard code all these all the time whenever you make a non full screen dialog box.

7. -Localizing Delphi applications using StringTable resources

-While resource files enable storing more than just program code in an EXE file, by including stringtable resources to an application a Delphi developer can easily build multilanguage applications. Learn how.
This is the fifth article in the series about storing more than just executable code inside a Delphi application. Introductory article described resources as binary data that a developer ads to an application's executable file.

8. -Listing Windows processes

-Getting a list of Window processes and setting memory for return values using Delphi.
Do you know what programs are running on your computer? There are multiple programs running invisibly in the back ground to monitor and manage how the operating system is working; these programs can also be called upon to report on the current state of the operating system. For example, EnumWindows is a window (API) function that will integrate these programs and deliver a report consisting of the handle of each top level window to a requested address of a callback function.

9. -Let Windows work for you: implementing function callbacks with Delphi.

-CallBack?
To call most API/DLL functions from Delphi, you write a function that calls the API function, and you're done. In some cases, however, system needs to call an application-defined function in response to events generated by an API call.
Simply put, a callback function is a routine in your program that Windows calls. More generally, a callback is a means of sending a function as a parameter into another function. When the callback function has completed, control is passed back to the original function.

10. -Handling Windows Messages the Delphi way

-Delphi, you've got message to handle! One of the keys to traditional Windows programming is handling the messages sent by Windows to applications. Simply put, a message is some information sent from one place to another. For the most part, Delphi makes message handling easy through its use of events, an event is usually generated in response to a Windows message being sent to an application. However, someday we'll want to process some uncommon messages like: CM_MOUSEENTER which happens (is posted by Windows) when mouse cursor enters the client area of some component (or form).
Handling messages on our own requires a few extra programming techniques, this article is here to help us find the right way through the message river and grap needed information.

1 2
 
 
 
 Home   About us   Contact us   Site map