473,322 Members | 1,314 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

How to create form with #32770 classname in C# ?

Flo
Hi,

i want to create a dialog box form in C# but it is essential that i manage
to set the classname of the window to #32770 which is the classname for
system dialog boxes. For the moment, i was not able to find any way to
achieve this on the web. The only thing i tried was to use the .NET
NativeWindow class but it didn't work. Any help would be appreciated. Thanks.

Flo.
Nov 17 '05 #1
2 6209
>
i want to create a dialog box form in C# but it is essential that i manage
to set the classname of the window to #32770 which is the classname for
system dialog boxes. For the moment, i was not able to find any way to
achieve this on the web. The only thing i tried was to use the .NET
NativeWindow class but it didn't work. Any help would be appreciated. Thanks.


I guess you have to use the good old DialogBox[Indirect]Param Win32
API. After the dialog. But then you have to provide a dialog box
template, you can't easily use the Windows Forms framework.
Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 17 '05 #2
>
i want to create a dialog box form in C# but it is essential that i manage
to set the classname of the window to #32770 which is the classname for
system dialog boxes. For the moment, i was not able to find any way to
achieve this on the web. The only thing i tried was to use the .NET
NativeWindow class but it didn't work. Any help would be appreciated. Thanks.


I guess you have to use the good old DialogBox[Indirect]Param Win32
API. After the dialog. But then you have to provide a dialog box
template, you can't easily use the Windows Forms framework.
Mattias

--
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Nov 17 '05 #3

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

Similar topics

5
by: Dani | last post by:
Hello everybody, I have some code that disables form elements on body load, but I notice when I hit the "back" button, I need to re-enable the form elements (that is done by clicking on a radial...
0
by: Flo | last post by:
Hi, i want to create a dialog box form in C# but it is essential that i manage to set the classname of the window to #32770 which is the classname for system dialog boxes. For the moment, i was...
2
by: §iD` | last post by:
Hi! I would like to create a virtual folder (which I want to mount) and populate managing his content by a DLL or something like that in VB.NET (2.0). How can I acomplish this? Thanks to...
8
by: Bert | last post by:
Hi, I want to create an instance of a class by means of the classname. Can't figure out how. in pseudocode this would look like: Dim MyClassName as String = "MyClass" Dim MyObject as New...
3
by: AndyHolyer | last post by:
In all my years of hacking HTML I've never seen this happen before: I'm writing a small part of a site in Mason which implements a calendar and booking system. Bookings can be of various...
11
by: Rik | last post by:
Hello guys, now that I'm that I'm working on my first major 'open' forms (with uncontrolled users I mean, not a secure backend-interface), I'd like to add a lot of possibilities to check wether...
0
by: artofsuntzu | last post by:
I am trying to use Win32 API in Visual Basic 6.0 to get the text from a third party program that is using an Edit Control Window within a #32770 DialogBox. But I am unable to find any SendMessage...
15
by: worked | last post by:
I have a script that hides / shows form elements, and wrapped in a tab script (tab navigation). When the code is duplicated (per tab content), the hide / show function works for the first tab but...
2
by: ravisuguna | last post by:
Hi, I have a php page which has some checkboxes ,textfields and values.If I select a checkbox ,a particular value will be displayed in a textfield.I have a "go"button in the same page.I want the...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.