Click here to Skip to main content
15,913,669 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
Generalchart needed for .NET framework Pin
Patric_J2-Mar-04 5:59
Patric_J2-Mar-04 5:59 
GeneralRe: chart needed for .NET framework Pin
Marcie Jones3-Mar-04 3:44
Marcie Jones3-Mar-04 3:44 
GeneralClearing JIT buffer Pin
Yaron K.2-Mar-04 2:07
Yaron K.2-Mar-04 2:07 
GeneralRe: Clearing JIT buffer Pin
ian mariano4-Mar-04 11:22
ian mariano4-Mar-04 11:22 
General.Net listbox Pin
HCassidy1-Mar-04 10:14
HCassidy1-Mar-04 10:14 
GeneralMakeTransparent Pin
Member 1318591-Mar-04 8:33
Member 1318591-Mar-04 8:33 
GeneralSQLState error 9999B, SQLCODE 999999800 Pin
Lola Copinga1-Mar-04 7:23
Lola Copinga1-Mar-04 7:23 
GeneralFullscreen / Windowed mode toggle Pin
Steve Messer28-Feb-04 20:37
Steve Messer28-Feb-04 20:37 
I am trying to figure out mimic this code in the visual C++ .net anyone know how to attach this?

void GoFullScreen( HWND hwnd,int FullScreen, RECT *sizerect, int x, int y )
{
int cx, cy;
HDC DC = GetDC( NULL );
if( x == 0 || y == 0 )
{
cx = GetDeviceCaps( DC,HORZRES ) + GetSystemMetrics( SM_CXBORDER ) + 1;
cy = GetDeviceCaps( DC,VERTRES ) + GetSystemMetrics( SM_CYBORDER ) + 1;
}
else
cx = x; cy = y;

ReleaseDC( 0, DC );

if( FullScreen )
{
// Remove caption and border
SetWindowLong(hwnd, GWL_STYLE,
GetWindowLong(hwnd, GWL_STYLE) & ((~WS_CAPTION | WS_BORDER )));
// Put window on top and expand it to full screen
SetWindowPos( hwnd, HWND_TOPMOST, -(GetSystemMetrics( SM_CXBORDER ) - 1 ),
-( GetSystemMetrics( SM_CYBORDER ) - 1 ), cx+2,cy+2, SWP_NOZORDER );
}
else
{
SetWindowLong( hwnd, GWL_STYLE,
GetWindowLong( hwnd, GWL_STYLE ) | WS_CAPTION | WS_BORDER );
SetWindowPos( hwnd, HWND_NOTOPMOST, sizerect->left, sizerect->top,
sizerect->right-sizerect->left, sizerect->bottom-sizerect->top, SWP_SHOWWINDOW );

SetWindowLong( hwnd, GWL_STYLE, GetWindowLong( hwnd, GWL_STYLE ) | WS_CAPTION |
WS_BORDER | WS_SYSMENU | WS_GROUP | WS_DLGFRAME );

SetWindowPos( hwnd, HWND_TOPMOST, -GetSystemMetrics( SM_CXBORDER ) - 1,
-GetSystemMetrics( SM_CYBORDER ) - 1, cx+1+5,cy+1+30, SWP_NOZORDER );
}
}

Thanks,

Steve
GeneralSingle Instance issue Pin
Steve Messer28-Feb-04 20:32
Steve Messer28-Feb-04 20:32 
GeneralImageFormat Pin
Jon Sagara27-Feb-04 22:14
Jon Sagara27-Feb-04 22:14 
GeneralRe: ImageFormat Pin
David Stone27-Feb-04 23:04
sitebuilderDavid Stone27-Feb-04 23:04 
GeneralRe: ImageFormat Pin
Jon Sagara28-Feb-04 7:47
Jon Sagara28-Feb-04 7:47 
GeneralRe: ImageFormat Pin
Stephane Rodriguez.2-Mar-04 6:35
Stephane Rodriguez.2-Mar-04 6:35 
GeneralDataSet Clear() performance problem Pin
Dan Bunea27-Feb-04 1:00
Dan Bunea27-Feb-04 1:00 
GeneralRe: DataSet Clear() performance problem Pin
apferreira27-Feb-04 7:15
apferreira27-Feb-04 7:15 
GeneralRe: DataSet Clear() performance problem Pin
Dan Bunea27-Feb-04 7:20
Dan Bunea27-Feb-04 7:20 
GeneralRe: DataSet Clear() performance problem Pin
apferreira27-Feb-04 7:33
apferreira27-Feb-04 7:33 
GeneralRe: DataSet Clear() performance problem Pin
Dan Bunea28-Feb-04 23:11
Dan Bunea28-Feb-04 23:11 
GeneralCalling a function in C++.NET Pin
benibo26-Feb-04 20:09
benibo26-Feb-04 20:09 
GeneralRe: Calling a function in C++.NET Pin
apferreira27-Feb-04 6:12
apferreira27-Feb-04 6:12 
GeneralRe: Calling a function in C++.NET Pin
benibo27-Feb-04 9:29
benibo27-Feb-04 9:29 
Generalusing .NET as a script engine Pin
Nailbite26-Feb-04 18:27
Nailbite26-Feb-04 18:27 
GeneralRe: using .NET as a script engine Pin
apferreira27-Feb-04 7:02
apferreira27-Feb-04 7:02 
GeneralRe: using .NET as a script engine Pin
Judah Gabriel Himango3-Mar-04 12:53
sponsorJudah Gabriel Himango3-Mar-04 12:53 
GeneralDerive C# classes from C++ DLL's Pin
Maxim F.26-Feb-04 4:52
sussMaxim F.26-Feb-04 4:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.