Rewrite the code coloring script on the blog

Currently, Delphi, C #, and C/C ++ are supported. I will learn what it will support in the future. You are also welcome to use it. Usage:First, add: Then: Delphi Code C # Code C or C ++ Code Example: // Delphi code: Program

Learn more about GDI + [62]: path painter (2)-setcenterpoint, getcenterpoint

In this example: Code File: Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls, checklst, extctrls, tecanvas; Type tform1 = Class (tform) procedure formcreate

Merge and zoom images-reply to the question of "Qian Yafei"

Problem Source: http://www.cnblogs.com/del/archive/2008/12/30/1316584.html#1417644 Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 = Class (tform) button1:

Learn more about GDI + [68]: path painter (8)-setblendtriangularshaped, setblendbellshape

In this example (the color distortion is serious, because GIF can only accept up to 256 colors ): Code File: Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, comctrls,

Use tstringgrid [2]-defaultcolwidth, defaultrowheight, Col, row

Function in this example: 1. Modify the default width and height of the stringgrid unit; 2. Add rows and columns; 3. Confirm the current unit and assign a value. Run: // This example Code : Unit unit1; interfaceuses windows, messages,

Learn more about GDI + [78]: Translation transformation of the region (7)-translate-region

In this example: Code File: Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls, comctrls; Type tform1 = Class (tform) trackbar1: ttrackbar; trackbar2: ttrackbar;

Learn more about GDI + [52]: Path-reverse, reset

In this example: Code File: Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 = Class (tform) checkbox1: tcheckbox; checkbox2: tcheckbox; procedure

Use the mapfileandchecksum function to check whether the EXE or dll has been modified.-reply to the "Joe Lo" question.

Problem Source: http://www.cnblogs.com/del/archive/2008/12/08/1350440.html#1395177 Unit unit1; interfaceuses windows, messages, extensions, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 = Class (tform) button1:

Retrieve all subwindows of a window (including nesting)-reply to the "Asian" question

Problem Source: http://www.cnblogs.com/del/archive/2008/12/10/1345752.html#1397451 Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls, extctrls; Type tform1 = Class (tform)

Blog introduction-old

Windows Programming | learn message | multithreading programming | memory management | memory functions | hook function | beginner assembly | algorithm and data structure | resource file | cursor functions | winapi characters and

Function for retrieving icons from EXE or DLL-reply to the question "little plum"

Problem Source: http://www.cnblogs.com/del/archive/2008/12/25/1070115.html#1413353 CodeFile: Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 =

Use the tlistview Control (2)

In this example: Code File: Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls, comctrls; Type tform1 = Class (tform) listview1: tlistview; button1: tbutton;

Learn more about GDI + [57]: Path-widen

The widen method of the path can convert the line in the path into a range (a bit similar to the area) based on the width and style of the specified paint brush ); however, after the conversion, you can only use fillpath instead of drawpath to

Learn more about GDI + [60]: tgpgraphics. setsmoothingmode-Drawing Quality

In this example: Code File: Unit unit1; interfaceuses windows, messages, extensions, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 = Class (tform) listbox1: tlistbox; Procedure formcreate (Sender:

Learn more about GDI + [70]: path painter (10)-setblend

In this example: Code File: Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, comctrls, stdctrls, extctrls; Type tform1 = Class (tform) trackbar1: ttrackbar; trackbar2:

Delphix (11) of Delphi and DirectX: tpicturecollectionitem. drawadd, drawsub

In this example: Code File: Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, dxdraws, stdctrls, dxclass; Type tform1 = Class (tform) dxdraw1: tdxdraw; dependencies:

Delphix (8) of Delphi and DirectX: The first simple animation

This example (using GIF animation to demonstrate the smooth Effect of DirectX in any case ): Code File: Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, dxdraws,

Winapi: getforegroundwindow-get the handle of the foreground window

// Declaration: getforegroundwindow: hwnd; // Example: Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls, extctrls; Type tform1 = Class (tform) {Add the following three

Tips on struct and type conversion

Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, stdctrls; Type tform1 = Class (tform) button1: tbutton; button2: tbutton; button3: tbutton; button4: tbutton; button5: tbutton; Procedure

Draw a piano keyboard

I just helped my friend solve a small problem. Here is a small part: In this example: Code file: Unit unit1; interfaceuses windows, messages, sysutils, variants, classes, graphics, controls, forms, dialogs, extctrls; Type tform1 = Class (tform)

Total Pages: 64722 1 .... 54249 54250 54251 54252 54253 .... 64722 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.