- Out-of-Stock
Products
Categories
- Main categories
-
- 3D PRINTING
- ARDUINO
- AUTOMATION
- BOOKS
- CYBERSECURITY
- EDUCATION
- ELECTRONICS
- Cables
- Cameras and accessories
- Communication
- Conductive materials
- Connectors
- ARK connectors (Terminal Block)
- Coaxial connectors (RF)
- Connectors
- Crocodile clip
- D-Sub drawer connectors
- DC power connectors
- FFC/FPC ZIF connectors
- Goldpin connectors
- IDC connectors
- JACK connectors
- JST connectors
- Jumpers
- Memory cards slots
- Other connectors
- Pogo pin
- RJ45 sockets
- Slip ring connector
- Supports
- Szybkozłącza
- USB connectors
- USB PD Adapters for Laptops
- Cooling
- Displays
- Electronic modules
- A/D and D/A converters
- Audio
- Barcode readers
- CAN converters
- Converters USB - UART / RS232
- Data logger
- DDS/PLL generators
- Digital potentiometers
- Encoders
- Expanders of the I/O
- Fingerprint readers
- HMI modules
- Image and video
- JTAG accessories
- Keyboards, buttons
- LED drivers
- Memory card readers
- Memory modules
- Modules with power outputs
- Motor controllers
- Power modules
- RS485 converters
- RTC modules
- Servo Controllers
- TSOP infrared receivers
- USB Converters - I2C / 1-Wire / SPI
- Voltage converters
- Gadgets
- GPS
- Intelligent clothes
- LED - diodes, displays, stripes
- Luminous wires and accessories
- Machine vission (MV)
- Memory cards and other data storages
- Passive elements
- PC accessories
- Printers
- Prototype boards
- Relays
- Semiconductors
- A/C converters (ADC)
- Analog systems
- Audio systems
- Bridge rectifiers
- Button
- D/A Converters (DAC)
- DDS synthesizers
- Digital circuits
- Diodes
- Drivers of motors
- DSP microprocessors
- Energy counters
- Energy harvesting
- ESD security
- IGBT drivers and bridges
- Interface systems
- LED drivers
- Logic converters
- Memory
- Microcontrollers
- Optotriacs and optocouplers
- Other
- PLL generators
- Power systems
- Programmable systems
- Resetting systems
- RF systems
- RTC systems
- Sensors
- SoC systems
- Timery
- Touch sensors
- Transistors
- Sensors
- Accelerometers
- Air humidity sensors
- Air quality sensors
- Current sensors
- Distance sensors
- Flow sensors
- Gas sensors
- Gyroscopes
- Hall sensors
- Humidity sensors
- Infrared sensors
- Light and color sensors
- Liquid level sensors
- Magnetic sensors (compasses)
- Medical sensors
- Motion sensors
- PH sensors
- Position sensors
- Pressure sensors
- Pressure sensors
- Reflection sensors
- Sensors 6DOF/9DOF/10DOF
- Sensors of liquid quality
- Temperature sensors
- Vibration sensors
- Sound transducers
- Switches and buttons
- Cables
- FPGA DEVELOPMENT KITS
- Measuring devices
- MECHANICS
- MINICOMPUTERS (SBC)
- POWER
- RASPBERRY PI
- Accessories for Raspberry Pi
- Audio video cables for Raspberry Pi
- Case Raspberry Pi
- Cooling for Raspberry Pi
- Displays for Raspberry Pi
- Extension modules for Raspberry Pi
- Memory cards for Raspberry Pi
- Power for Raspberry Pi
- Raspberry Pi 3 model A+
- Raspberry Pi 3 model B
- Raspberry Pi 3 model B+
- Raspberry Pi 4 model B
- Raspberry Pi 400
- Raspberry Pi 5
- Raspberry Pi 500
- Raspberry Pi cameras
- Raspberry Pi Compute Module
- Raspberry Pi model A/ B+/2
- Raspberry Pi Pico
- Raspberry Pi prototyping
- Raspberry Pi Zero
- Raspberry Pi Zero 2 W
- RETIRED PRODUCTS
- SALE
- STARTER KITS, PROGRAMMERS, MODULES
- Atmel SAM
- Atmel Xplain
- AVR
- Coral
- DFRobot FireBeetle
- ESP32
- ESP8266
- Feather / Thing Plus
- Freedom (Kinetis)
- M5Stack
- Micro:bit
- Nordic nRF
- Other development kits
- Particle Photon
- Peripheral modules
- PIC
- Raspberry Pi RP2040
- RFID
- RISC-V
- Seeed Studio LinkIt
- Segger programmers
- SOFTWARE
- Sparkfun MicroMod
- STM32
- STM32 Discovery
- STM32 MP1
- STM32 Nucleo boards
- STM8
- Teensy
- Universal programmers
- WRTNode
- XIAO/Qt PY
- Atmel SAM
- WORKSHOP
- Adhesives and gluers
- Chemistry
- CNC milling machines
- Crimping tools
- Dispensing needles
- Heat-shrink tubing
- Insulation strippers
- Knives and scissors
- Laboratory power supplies
- Mikroskopy
- Mini drills and grindrers
- Organizers
- Power strips
- Power tools
- Safety glasses
- Soldering
- Antistatic mats and accessories (ESD)
- BGA balls
- BGA rework stations
- Brushes and ESD brushes
- Desoldering Wick
- Handles, magnifiers
- Heat guns
- Heaters and soldering irons
- Laminates
- Portable soldering irons
- Silicone Soldering Mats
- SMD Accessories
- Soldering accessories
- Soldering chemistry
- Soldering irons
- Soldering pastes
- Soldering pots
- Soldering stations
- Soldering tips
- Sponges and cleaners
- Stand for soldering irons
- Tin
- Tin extractors
- Ultrasonic cleaners
- Tapes (aluminum, kapton, copper, insulating)
- Tools
- Tweezers
- Vices
- 3D PRINTING
New products
New products
Windows programming
Charles Petzold
Free shipping
free shipping in Poland for all orders over 500 PLN
Same day shipping
If your payment will be credited to our account by 11:00
14 days for return
Each consumer can return the purchased goods within 14 days
Author: Charles Petzold
ISBN: 83-87216-90-9
1296 pages
Hardcover
Publisher: RM
About the book
The best-known, best and most used programming book in the world.
"Look Petzold" is a sentence that ends many conversations about programming in the Windows environment. In the fifth
American, and the second Polish edition of Windows Programming, the winner of the prestigious Windows Pioneer Award
updated the text on issues related to the latest versions of the Windows operating system - once again
reaching the heart of Win32 API programming.
It discusses, among others:
- basics - dialog boxes, data entry
- Unicode
- graphics - drawing, text, fonts, bitmaps and metafiles
- kernel and printer
- sound and music
- hyperlinked libraries
- multitasking and multithreading
- programming for the Internet and intranet
- multi-document interface
Full of examples, the book is the source of all knowledge for all programmers, regardless of their level
sophistication who deal with Windows 95, Windows 98 or Windows NT. No one can do without it
self-respecting IT specialist.Table of Contents:
Part I: Basics
Chapter 1: We start
Windows environment - Windows history
- Windows features
- Dynamic linking
Windows programming options - API and memory models
- Programming language options
- Programming environment
- API documentation
The first windows program - Character mode
- Windows equivalent
- Header files
- The starting point of the program
- The MessageBox function
- Compiling, connecting and running
Chapter 2: Introduction to Unicode
A short history of character sets - American standards
- Other languages
- ASCII extension
- Double-byte character set
- Rescue in Unicode
Wide characters and C - Data type char
- Wider signs
- Functions of the wide character library
- Maintaining a single source
Wide characters and Windows - Types of Windows header files
- Windows function calls
- Functions of string support in Windows
- Using printf in Windows
- Formatting the message window
- Multilingualism and this book
Chapter 3: Windows and messages
Own window - Architecture review
- The HELLOWIN program
- Global thinking
- Window class registration
- Creating a window
- Displaying the window
- Message loop
- Window procedure
- Message processing
- Playing a sound file
- WM_PAINT message
- WM_DESTROY message
Obstacles in Windows programming - Do not call me, I will call you
- Queued and non-queued messages
- Fast entry and exit
Chapter 4: Displaying text
Painting and refreshing - WM_PAINT message
- Rectangles approved and annulled
Introduction to GDI - Device context
- Getting the device context handle. The first way
- The structure of information about painting
- Getting the device context handle. Second method
- TextOut function? details
- System font
- The size of the sign
- Sizes of the text? details
- Text formatting
- Putting everything together
- Window procedure in SYSMETS1.C
- Lack of space
- The size of the workspace
Scroll bars - Range and position of the scroll bar
- Scroll bar messages
- Scrolling SYSMETS
- Adapting the program for painting
Correcting the scroll - Information functions of scroll bars
- How to scroll minimally?
- New SYSMETS
- I do not like mice
Chapter 5: The basics of graphics
GDI structure - GDI philosophy
- Calls to the GDI function
- The basic elements of GDI
- Other elements of GDI
Device context - Downloading the device context handle
- Getting information about the device's context
- DEVCAPS1 program
- The size of the device
- Information about colors
- Device context attributes
- Memorizing the device's context
Drawing points and lines - Highlighting pixels
Straight lines - Border functions
- Béziera spline curves
- Using standard pens
- Creating, selecting and removing pens
- Filling the breaks
- Drawing modes
Drawing filled areas - Polygon function and polygon filling mode
- Painting the interior
GDI map modes - Device coordinates and logical coordinates
- Device coordinate systems
View and window - Working in MM_TEXT mode
- Metrical mapping modes
- ? Customizable? mapping modes
- The WHATSIZE program
Rectangles, regions and clipping - Work with rectangles
- Randomly drawn rectangles
- Creating and painting regions
- Trimming with rectangles and regions
- CLOVER program
Chapter 6: Keyboard
Basic information - Ignoring the keyboard
- Who has the focus
- Queues and synchronization
- Keys and characters
Keyboard messages - System and non-system keys
- Virtual key codes
- Information provided by lParam
- The states of the [Shift] key
- Using messages related to pressing keys
- Enriching SYSMETS with keyboard support
Character messages - Four character messages
- The order of messages
- Pressed keys and characters
- Messages of dead characters
Keyboard messages and character sets - KEYVIEW1 program
- The problem with national keyboards
- Character sets and fonts
- And what about Unicode?
- TrueType and large fonts
Ambulance (not a cursor) - Functions of the carriage
- TYPER program
Chapter 7: Mouse
The Basics - Several quick definitions
Mouse messages for the workspace - Simple mouse message processing: example
- Support for special keys
- Double clicks
Mouse messages not related to the workspace - The test message to hit the periphery of the window
- Messages generating messages
Testing hits in your programs - A hypothetical example
- Sample program
- Mouse emulation using the keyboard
- Adding the keyboard interface to the CHECKER program
- Use child windows to test hits
- Child windows in the CHECKER program
- Child windows and keyboard
Capturing the mouse - Blocking the pro-angle
- Interception
- BLOKOUT2 program
Mouse wheel What's next?Chapter 8: Clock
Basic information about the clock - System and clock
- Clock messages are not asynchronous
Clock: three methods of use - Method one
- Second method
- Third method
Use of the clock - Digital clock
- Downloading the current time
- Displaying numbers and colons
- Be a globalist
- Analog clock
Clock and reportsChapter 9: Controls of the child window
The class of buttons - Creating child windows
- Communication between controls and the parent window
- Communication between the parent window and controls
- Classic buttons (pressed)
- Check boxes
- Option buttons
- Group fields
- Modification of the button text
- Visible and available buttons
- Buttons and focus
Controls and colors - System colors
- Button colors
- WM_CTLCOLORBTN message
- Buttons drawn by the program
Static class Scroll bar class - The COLORS1 program
- Automatic keyboard interface
- Creating a window subclass
- Background coloring
- Coloring scrollbars and static texts
Edition class - Editing class styles
- Notification codes for the edit control
- Use the edit control
- Messages sent to the edit control
Listbox class - List box styles
- Place strings in the list box
- Selecting and downloading list items
- Messages sent through the list box
- A simple application with a list field
- List of files
- HEAD for Windows
Chapter 10: Menus and other resources
Icons, cursors, strings and user resources - Adding an icon to the program
- Obtaining the icon handle
- Using icons in the program
- Using your own cursors
- Strings as resources
- User resources
Menu - Menu assumptions
- Menu structure
- Defining the menu
- Appealing to the menu in the program
- Menus and messages
- Sample program
- Conventions on the menu
- Defining the menu? harder way
- Movable drop-down menu (pop-up menu)
- Using the system menu
- Changing the menu
- Other menu commands
- A custom approach to the menu
Shortcut keys - Why use the shortcut keys
- Some rules for assigning shortcuts
- Table of shortcuts
- Loading shortcut table
- Translation of keystrokes
- Receiving keyboard messages
- POPPAD program with menus and hot keys
- Providing menu items
- Processing menu options
Chapter 11: Dialog boxes
Modal dialog boxes - Creating the About dialog
- Dialog window and its template
- The dialog box procedure
- Displaying the dialog
- Variations on the subject
- More complex dialogs
- Work with controls in the dialog
- OK and Cancel buttons
- Avoidance of global variables
- Groups and places of transition with a tab
- Drawing in a dialog
- Using other functions with dialogs
- Defining your own controls
Non-modal dialog boxes - Differences between modal and non-modal dialog boxes
- The COLORS program in the new version
- The HEXCALC program: a regular window or a dialog?
Standard dialogs - A new version of the POPPAD program
- Input / output operations on Unicode files
- Change the font
- Search and replace
- A Windows program containing only one function call
Chapter 12: Clipboard
Simple use of the clipboard - Standard clipboard data formats
- Memory allocation
- Moving text to the clipboard
- Downloading text from the clipboard
- Opening and closing the clipboard
- Clipboard and Unicode
In addition to the standard applications of the clipboard - Using several data elements
- Delayed transfer
- Own data formats
Create a clipboard preview - Preview chain of the clipboard
- Functions and preview messages of the clipboard
- Simple clipboard preview
Part II: Graphics
Chapter 13: Printing
Basics of printing - Printing and buffering
- The context of the printing device
- Extended DEVCAPS program
- Calling PrinterProperties
- Checking the BitBlt features
- The simplest printing program
Printing graphics and text - Contour printing
- Canceling the printout and the Abort procedure
- How Windows uses AbortProc
- Implementation of the AbortProc procedure
- Creating the Printing dialog
- Printing in POPPAD programs
Chapter 14: Bitmaps and BitBlits
Basic information about bitmaps - Where do bitmaps come from?
Sizes of bitmaps - Color and bitmap
- Real devices
- Support for bitmaps in GDI
Bit blocks transfer - Simple BitBlt
- Stretching bitmaps
- StretchBlt mode
- Raster operations
- Blt pattern
A GDI bitmap object - DDB creation
- Bitmap bits
- The context of the storage device
- Loading bitmaps from resources
- The monochrome bitmap format
- Bitmap brushes
- Drawing on bitmaps
- Shadow bitmap
- The use of bitmaps in the menu
- Non-rectangular bitmap images
- Simple animation
- Bitmaps outside the window
Chapter 15: Device-independent bitmap
DIB file format - DIB in OS / 2 style
- Upside down!
- DIB pixel bits
- Extended DIB Windows format
- Reality
- DIB compression
- Color masking
- Header of version 4
- Header of version 5
- Displaying DIB information
Display and printing - Interior penetration DIB
- Pixel per pixel
- A world of DIB set on the head
- Sequential display
- Stretching and matching
- Color conversion, palette and speed of action
Connection of DIB and DDB - DDB creation with DIB
- From DDB to DIB
- The DIB section
- More about the dissimilarity of the DIB section
- File mapping option
- Summary
Chapter 16: Palette Manager
The use of palettes - Video equipment
- Displaying shades of gray
- Palette messages
- Index palette
- Inquiry about the possibility of handling the palette
- System palette
- Other palette functions
- The problem of raster actions
- Looking at the system palette
- Palette animation
- Bouncing ball
- Animation of one pallet position
- Engineering applications
Palettes and real images - Pallets and packed DIB
- Multitasking palette
- Halftone palette
- Indexing of the color palette
- Palettes and bitmap objects
- Pallets and DIB sections
DIB service library - DIBSTRUCT structure
- Information functions
- Reading and saving pixels
- Creating and converting a DIB section
- DIBHELP header file and macros
- The DIBBLE program
Simple pallets; optimal palettes - Format conversion
Chapter 17: Text and fonts
Simple display of text - Text drawing functions
- Device context attributes for text
- Backup fonts
Fonts? basic information - Types of fonts
- TrueType fonts
- Attributes or styles?
- Point size
- Line spacing and spacing
- The problem of a logical inch
Logic font - Creating and selecting a logical font
- PICKFONT program
- The structure of the logical font
- Font mapping algorithm
- Obtaining information about the font
- Character sets and Unicode
- EZFONT system
- Rotating the font
Font calculation - Enumerating functions
- ChooseFont dialog box
Paragraph formatting - Simple text formatting
- Work with paragraphs
- Print Preview
A bit of funny and fanciful effects - GDI path
- Pens with extended capabilities
- Four sample programs
Chapter 18: Metafiles
Old metafile format - Simple application of metafiles stored in memory
- Saving metafiles on a disk
- Old format metafile and clipboard
Extended metafiles - Basic procedure
- Let's look inside
- Metafiles and GDI objects
- Metafiles and bitmaps
- Metafile calculation
- Embedding images
- Preview metafile extended and printouts
- View details in metafiles
- Scaling and proportions of sizes
- Mapping and metafile modes
- Mapping and playback
Part III: Advanced issues
Chapter 19: Multi-document interface
The concept of MDI - MDI elements
- MDI support
An example of MDI implementation - Three menus
- Program initialization
- Creating child windows
- Processing the message More windows
- Child windows, document windows
- cleaning
Chapter 20: Multitasking and multithreading
History of multitasking - Multitasking in DOS?
- Multitasking without expropriation
- Presentation manager and serial message queue
- Multithreaded solution
- Multi-threaded architecture
- Difficulty of threads
- The advantage of Windows
- Novelty! Improved formula! Available with threads!
Multithreading in Windows - Random rectangles once again
- Task from the Microsoft programming competition
- Multithreaded solution
- Any problems?
- The benefits of sleep
Thread synchronization - Critical section
Event signaling - BIGJOB1 program
- Event object
Local thread memory (TLS)Chapter 21: Dynamic libraries
Basic information about libraries - Library? on-River
- An example DLL
- Library entry and exit point
- Test program
- Dynamic libraries and common memory
- The STRPROG program
- Data sharing by STRPROG instances
Different topics related to dynamic libraries - Dynamic consolidation without import
- Libraries with the same resources
Chapter 22: Sound and music
Windows and multimedia - Multimedia systems devices
- API review
- We are exploring MCI? the TESTMCI program
- MCITEXT a CD audio
Wave sound - Sound and waveform
- Code and pulse modulation
- Sampling frequency
- The size of the sample
- Software generation of sinusoidal signals
- Digital audio player
- An alternative solution using MCI
- Solution with MCI character commands
- Wave file format
- Experiments with additive synthesis
- Wake up using wave sounds
MIDI music - MIDI operation
- Program change
- MIDI channels
- MIDI messages
- Introduction to the MIDI sequence
- Simulating a MIDI synthesizer from a PC keyboard
- MIDI drum machine
- Multimedia time-related functions
- Operations on RIFF files
Chapter 23: The taste of the Internet
Windows sockets - Sockets a TCP / IP
- Network services related to time
- NETTIME program
WinInet and FTP - FTP API overview
- A program that demonstrates downloading files from an FTP server
Index
Other products in the same category (16)
No product available!
Base plate for Trenz Electronics modules 4 x 5 cm, eg for TE0741. The board allows connecting to the module interfaces: USB, Ethernet, JTAG, UART. TE0703-05
No product available!
Pin strip straight in black, double-breasted, female, 2x14, pitch 2.54mm, THT, RoHS. PBD28S
No product available!
NORT12 is a workshop organizer made of high quality plastic, transparent, closed with latches, with a solid handle for convenient transport. It has the ability to regulate the size and number of compartments
No product available!
The Arduino GSM Shield connects your Arduino to the internet using the GPRS wireless network. Just plug this module onto your Arduino board, plug in a SIM card from an operator offering GPRS coverage and follow a few simple instructions. You can also make/receive voice calls (you will need an external speaker and microphone circuit) and send/receive SMS messages.
No product available!
No product available!
ABC016002E26-FIA-R-01 LCD display 2x16, 80x36mm, FSTN, LED backlight (amber), extended temperature range, power consumption with 20mA backlight, RoHS
No product available!
No product available!
No product available!
Dominique Guinard, Vlad Trifa
No product available!
Permanent cylindrical neodymium magnet with a diameter of 15 mm and a height of 1 mm.
No product available!
No product available!
No product available!
Development platform powered by Exynos5 Octa Cortex™-A15 1.4Ghz quad core and Cortex™-A7 quad core CPUs
No product available!
No product available!
No product available!