473,698 Members | 2,295 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Where to find Win32 API Constants

Does anybody know where to find all these API Constants like for
example
LVCFMT_BITMAP_O N_RIGHT = 4094; // = 0x1000
Are these Constants in any *.h files????
thanks
..::AsOn

Nov 16 '05 #1
2 5435
> Does anybody know where to find all these API Constants like for
example
LVCFMT_BITMAP_O N_RIGHT = 4094; // = 0x1000
Are these Constants in any *.h files????


they always can be found in header files.
this one, for example, in commctrl.h.

Wiktor Zychla
Nov 16 '05 #2
Alot of constants are on the interop site

http://www.pinvoke.net

If you ones you want aren't on there then once you've found out what they are ... Add Them!! Its the community spirited thing to do :-)

Regards

Richard Blewett - DevelopMentor
http://staff.develop.com/richardb/weblog

nntp://news.microsoft. com/microsoft.publi c.dotnet.langua ges.csharp/<41**********@U senet.com>

Does anybody know where to find all these API Constants like for
example
LVCFMT_BITMAP_O N_RIGHT = 4094; // = 0x1000
Are these Constants in any *.h files????
thanks
.::AsOn
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.766 / Virus Database: 513 - Release Date: 17/09/2004

[microsoft.publi c.dotnet.langua ges.csharp]
Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1901
by: Quinet, Joel | last post by:
Hi all, I use the Win32 extension (Build 157) module with Python 2.3 to add row in a sql server 2000 sp3 DB. My problem is I can not insert data of type money in the DB. I use the following command to create the parameter : prm = cmd.CreateParameter('Open', constants.adCurrency, constants.adParamInput, 8, 12.10) cmd.Parameters.Append(prm)
1
2757
by: Xiangliang Meng | last post by:
Hi, all. Recently, I find there is a way in our project to maintain a global set in many files by using preprocessing directives. I'm wondering if we could find a better method for this. Many colors are referred in different subsystems in our projects. They are defined as enumeration constants and a single color must be the same value all across our projects.
5
8686
by: Hans De Schrijver | last post by:
Where can I find a list of pre-defined exceptions for .NET? Whenever possible, I'd rather use existing exception constants rather than defining my own, unless no suitable one has been predefined. Any help would be greatly appreciated. -- Hans De Schrijver
2
2236
by: Rookie | last post by:
Hi, Can someone suggest a way to use some of the constants defined in Win32.h eg. FILE_MAP_ALL_ACCESS ? Is there a way to include a .h file in C# code? It would be great if someone could provide links to articles/tutorials on this topic. Thank you.
4
3673
by: Jarod_24 | last post by:
I've managed find out how to start using the Win32 API's But some of these methods got constants that you should use when caling them. for example the LockSetForegroundWindow got a unsigned integer as a parameter that either can be the value of "LSFW_LOCK" or "LSFW_UNLOCK" How do i get hold of these constants? Is there some <DllImport-thing that i can use to get hold of these constants?
12
4936
by: pamelafluente | last post by:
Hi guys, what are the best place on the web where I can find the list of all thh constants like: WM_QUERYENDSESSION As Integer = &H11 (possibly with some explanations) .... etc ... to be used for instance with: Protected Overrides Sub WndProc(ByRef m As
3
10041
by: Lance Hoffmeyer | last post by:
Hi all, I am trying to find the last used column in an excel sheet using win32com: lastcol = sh.UsedRange.Columns.Count works, but only if there is no formatting. I want to allow formatting in the columns. I would rather use the code below because formatted cells are irrelevant. using:
1
2423
by: Sin Jeong-hun | last post by:
The .NET BCL is great but not always sufficient. We need Win32 API's to do certain tasks. It's not impossible. We can manually write extern function signatures by hand or copy and paste from a site like pInvoke.net. But I always feel this is a little bit painstaking. Sometimes some signatures are missing or not provided for the CLR language I'm in use or those codes don't work and I have to search Google for it. So, what if someone can...
0
8674
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8604
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
6518
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5860
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4369
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3046
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2330
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.