PC Review


Reply
Thread Tools Rate Thread

DLLImport - Help

 
 
Timothy
Guest
Posts: n/a
 
      28th Jan 2006
Hi all,
Can anyone tell me how to import the function ModifyStyleEx() into a .net
app?

I am not sure which DLL this function is in either, so could someone help me
out, please?

Thanks in advance,

Tim.


 
Reply With Quote
 
 
 
 
Piotr Dobrowolski
Guest
Posts: n/a
 
      28th Jan 2006
Dnia 28-01-2006 o 14:37:38 Timothy <(E-Mail Removed)> napisał:

> Hi all,
> Can anyone tell me how to import the function ModifyStyleEx() into a .net
> app?
>
> I am not sure which DLL this function is in either, so could someone
> help me
> out, please?
>
> Thanks in advance,
>

[PD] Actually ModifyStyleEx is method of one of the classes in the MFC
rather than a API function. To modify style of the window import
SetWindowLong and use it with GWL_EXSTYLE or GWL_STYLE flag.
http://www.pinvoke.net/default.aspx/...indowLong.html

--
Piotr Dobrowolski
Piotr.Dobrowolski@_usun_gmail.com
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
asp.net and dllimport Larry Microsoft C# .NET 1 7th Oct 2008 08:51 AM
What's the difference of [DllImport ....] with _declspec(dllimport) Ed Microsoft VC .NET 2 31st Jul 2007 02:31 AM
Using DllImport k Microsoft C# .NET 2 8th Feb 2005 11:53 AM
C++ to C# using DllImport t_msreddy Microsoft C# .NET 0 1st Oct 2004 09:01 PM
DllImport into C# Tim Mulholland Microsoft C# .NET 5 20th Feb 2004 09:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:40 PM.