2007-10-26 22:34:42 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2000 Jeff Molofee http://nehe.gamedev.net/ (Original code)
|
|
|
|
* Copyright 2006 Eric Kohl
|
|
|
|
* Copyright 2007 Marc Piulachs (marc.piulachs@codexchange.net) - minor modifications , converted to screensaver
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
2009-10-27 10:34:16 +00:00
|
|
|
* You should have received a copy of the GNU General Public License along
|
|
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
2007-10-26 22:34:42 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "3dtext.h"
|
|
|
|
|
2014-01-07 17:11:52 +00:00
|
|
|
#include <winbase.h>
|
|
|
|
#include <wingdi.h>
|
|
|
|
#include <winuser.h>
|
|
|
|
#include <scrnsave.h>
|
|
|
|
#include <math.h>
|
|
|
|
#include <GL/glu.h>
|
|
|
|
|
|
|
|
#include "resource.h"
|
|
|
|
|
2008-02-20 21:43:41 +00:00
|
|
|
static HGLRC hRC; // Permanent Rendering Context
|
|
|
|
static HDC hDC; // Private GDI Device Context
|
2007-10-26 22:34:42 +00:00
|
|
|
|
2008-02-20 21:43:41 +00:00
|
|
|
GLuint base; // Base Display List For The Font Set
|
|
|
|
GLfloat rot; // Used To Rotate The Text
|
2008-01-01 22:59:06 +00:00
|
|
|
GLfloat extentX = 0.0f;
|
|
|
|
GLfloat extentY = 0.0f;
|
2007-10-26 22:34:42 +00:00
|
|
|
|
|
|
|
#define APPNAME _T("3DText")
|
|
|
|
|
|
|
|
HINSTANCE hInstance;
|
|
|
|
BOOL fullscreen = FALSE;
|
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
// Build Our Bitmap Font
|
|
|
|
GLvoid BuildFont(GLvoid)
|
2007-10-26 22:34:42 +00:00
|
|
|
{
|
2008-01-01 22:15:10 +00:00
|
|
|
// Address Buffer For Font Storage
|
|
|
|
GLYPHMETRICSFLOAT gmf[256];
|
|
|
|
// Windows Font Handle
|
|
|
|
HFONT font;
|
2008-02-20 21:43:41 +00:00
|
|
|
size_t i;
|
2008-01-01 22:59:06 +00:00
|
|
|
TCHAR c;
|
|
|
|
GLfloat cellOriginX = 0.0f;
|
|
|
|
GLfloat stringOriginX;
|
|
|
|
GLfloat stringExtentX = 0.0f;
|
|
|
|
GLfloat stringExtentY = 0.0f;
|
2008-01-01 22:15:10 +00:00
|
|
|
|
|
|
|
// Storage For 256 Characters
|
|
|
|
base = glGenLists(256);
|
|
|
|
|
|
|
|
font = CreateFont(-12,
|
2008-02-20 21:43:41 +00:00
|
|
|
0, // Width Of Font
|
|
|
|
0, // Angle Of Escapement
|
|
|
|
0, // Orientation Angle
|
|
|
|
FW_BOLD, // Font Weight
|
|
|
|
FALSE, // Italic
|
|
|
|
FALSE, // Underline
|
|
|
|
FALSE, // Strikeout
|
|
|
|
DEFAULT_CHARSET, // Character Set Identifier
|
|
|
|
OUT_TT_PRECIS, // Output Precision
|
|
|
|
CLIP_DEFAULT_PRECIS, // Clipping Precision
|
|
|
|
ANTIALIASED_QUALITY, // Output Quality
|
|
|
|
FF_DONTCARE|DEFAULT_PITCH, // Family And Pitch
|
|
|
|
_T("Tahoma")); // Font Name
|
2008-01-01 22:15:10 +00:00
|
|
|
|
|
|
|
// Selects The Font We Created
|
|
|
|
SelectObject(hDC, font);
|
|
|
|
|
2008-02-20 21:43:41 +00:00
|
|
|
wglUseFontOutlines(hDC, // Select The Current DC
|
|
|
|
0, // Starting Character
|
|
|
|
255, // Number Of Display Lists To Build
|
|
|
|
base, // Starting Display Lists
|
|
|
|
0.0f, // Deviation From The True Outlines
|
|
|
|
0.2f, // Font Thickness In The Z Direction
|
|
|
|
WGL_FONT_POLYGONS, // Use Polygons, Not Lines
|
2013-04-13 21:28:10 +00:00
|
|
|
gmf); // Address Of Buffer To Receive Data
|
2008-01-01 22:59:06 +00:00
|
|
|
|
|
|
|
// Calculate the string extent
|
|
|
|
for (i = 0; i < _tcslen(m_Text); i++)
|
|
|
|
{
|
|
|
|
c = m_Text[i];
|
|
|
|
|
|
|
|
stringOriginX = cellOriginX + gmf[c].gmfptGlyphOrigin.x;
|
|
|
|
|
|
|
|
stringExtentX = stringOriginX + gmf[c].gmfBlackBoxX;
|
|
|
|
if (gmf[c].gmfBlackBoxY > stringExtentY)
|
|
|
|
stringExtentY = gmf[c].gmfBlackBoxY;
|
|
|
|
|
|
|
|
cellOriginX = cellOriginX + gmf[c].gmfCellIncX;
|
|
|
|
}
|
|
|
|
|
|
|
|
extentX = stringExtentX;
|
|
|
|
extentY = stringExtentY;
|
2007-10-26 22:34:42 +00:00
|
|
|
}
|
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
// Delete The Font
|
|
|
|
GLvoid KillFont(GLvoid)
|
2007-10-26 22:34:42 +00:00
|
|
|
{
|
2008-01-01 22:15:10 +00:00
|
|
|
// Delete all 256 characters
|
|
|
|
glDeleteLists(base, 256);
|
2007-10-26 22:34:42 +00:00
|
|
|
}
|
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
// Custom GL "Print" Routine
|
|
|
|
GLvoid glPrint(LPTSTR text)
|
2007-10-26 22:34:42 +00:00
|
|
|
{
|
2008-01-01 22:15:10 +00:00
|
|
|
// If there's no text, do nothing
|
|
|
|
if (text == NULL)
|
|
|
|
return;
|
2007-10-26 22:34:42 +00:00
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
// Pushes The Display List Bits
|
|
|
|
glPushAttrib(GL_LIST_BIT);
|
2007-10-30 08:37:54 +00:00
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
// Sets The Base Character to 32
|
|
|
|
glListBase(base);
|
|
|
|
|
|
|
|
// Draws The Display List Text
|
|
|
|
glCallLists(_tcslen(text),
|
|
|
|
#ifdef UNICODE
|
|
|
|
GL_UNSIGNED_SHORT,
|
2007-10-30 08:37:54 +00:00
|
|
|
#else
|
2008-01-01 22:15:10 +00:00
|
|
|
GL_UNSIGNED_BYTE,
|
2007-10-30 08:37:54 +00:00
|
|
|
#endif
|
2008-01-01 22:15:10 +00:00
|
|
|
text);
|
2007-10-30 08:37:54 +00:00
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
// Pops The Display List Bits
|
|
|
|
glPopAttrib();
|
2007-10-26 22:34:42 +00:00
|
|
|
}
|
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
// Will Be Called Right After The GL Window Is Created
|
|
|
|
GLvoid InitGL(GLsizei Width, GLsizei Height)
|
2007-10-26 22:34:42 +00:00
|
|
|
{
|
2008-01-01 22:15:10 +00:00
|
|
|
// Clear The Background Color To Black
|
|
|
|
glClearColor(0.0f, 0.0f, 0.0f, 0.0f);
|
|
|
|
|
|
|
|
// Enables Clearing Of The Depth Buffer
|
|
|
|
glClearDepth(1.0);
|
|
|
|
|
|
|
|
// The Type Of Depth Test To Do
|
|
|
|
glDepthFunc(GL_LESS);
|
|
|
|
|
|
|
|
// Enables Depth Testing
|
|
|
|
glEnable(GL_DEPTH_TEST);
|
|
|
|
|
|
|
|
// Enables Smooth Color Shading
|
|
|
|
glShadeModel(GL_SMOOTH);
|
|
|
|
|
|
|
|
// Select The Projection Matrix
|
|
|
|
glMatrixMode(GL_PROJECTION);
|
|
|
|
|
|
|
|
// Reset The Projection Matrix
|
|
|
|
glLoadIdentity();
|
|
|
|
|
|
|
|
// Calculate The Aspect Ratio Of The Window
|
|
|
|
gluPerspective(45.0f, (GLfloat)Width / (GLfloat)Height, 0.1f, 100.0f);
|
|
|
|
|
|
|
|
// Select The Modelview Matrix
|
|
|
|
glMatrixMode(GL_MODELVIEW);
|
2007-10-26 22:34:42 +00:00
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
// Build The Font
|
|
|
|
BuildFont();
|
2007-10-26 22:34:42 +00:00
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
// Enable Default Light (Quick And Dirty)
|
|
|
|
glEnable(GL_LIGHT0);
|
2007-10-26 22:34:42 +00:00
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
// Enable Lighting
|
|
|
|
glEnable(GL_LIGHTING);
|
2007-10-26 22:34:42 +00:00
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
// Enable Coloring Of Material
|
|
|
|
glEnable(GL_COLOR_MATERIAL);
|
2007-10-26 22:34:42 +00:00
|
|
|
}
|
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
// Handles Window Resizing
|
|
|
|
GLvoid ReSizeGLScene(GLsizei Width, GLsizei Height)
|
2007-10-26 22:34:42 +00:00
|
|
|
{
|
2008-01-01 22:15:10 +00:00
|
|
|
// Is Window Too Small (Divide By Zero Error)
|
|
|
|
if (Height == 0)
|
|
|
|
{
|
|
|
|
// If So Make It One Pixel Tall
|
|
|
|
Height = 1;
|
|
|
|
}
|
2007-10-26 22:34:42 +00:00
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
// Reset The Current Viewport And Perspective Transformation
|
|
|
|
glViewport(0, 0, Width, Height);
|
2007-10-26 22:34:42 +00:00
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
// Select The Projection Matrix
|
|
|
|
glMatrixMode(GL_PROJECTION);
|
2007-10-26 22:34:42 +00:00
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
// Reset The Projection Matrix
|
|
|
|
glLoadIdentity();
|
|
|
|
|
|
|
|
// Calculate The Aspect Ratio Of The Window
|
|
|
|
gluPerspective(45.0f, (GLfloat)Width / (GLfloat)Height, 0.1f, 100.0f);
|
|
|
|
|
|
|
|
// Select The Modelview Matrix
|
|
|
|
glMatrixMode(GL_MODELVIEW);
|
2007-10-26 22:34:42 +00:00
|
|
|
}
|
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
// Handles Rendering
|
|
|
|
GLvoid DrawGLScene(GLvoid)
|
2007-10-26 22:34:42 +00:00
|
|
|
{
|
2011-08-24 12:33:45 +00:00
|
|
|
// Save ticks count of previous frame here
|
|
|
|
static DWORD dwTicks = 0;
|
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
// Clear The Screen And The Depth Buffer
|
|
|
|
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
|
|
|
|
|
|
|
|
// Reset The View
|
|
|
|
glLoadIdentity();
|
|
|
|
|
|
|
|
// Move One Unit Into The Screen
|
|
|
|
glTranslatef(0.0f, 0.0f, -10.0f);
|
|
|
|
|
|
|
|
// Rotate On The X Axis
|
|
|
|
glRotatef(rot, 1.0f, 0.0f, 0.0f);
|
|
|
|
|
|
|
|
// Rotate On The Y Axis
|
|
|
|
glRotatef(rot * 1.2f, 0.0f, 1.0f, 0.0f);
|
|
|
|
|
|
|
|
// Rotate On The Z Axis
|
|
|
|
glRotatef(rot * 1.4f, 0.0f, 0.0f, 1.0f);
|
|
|
|
|
|
|
|
// Move to the Left and Down before drawing
|
2008-01-01 22:59:06 +00:00
|
|
|
glTranslatef(-(extentX / 2.0f),
|
|
|
|
-(extentY / 2.0f),
|
|
|
|
0.0f);
|
2008-01-01 22:15:10 +00:00
|
|
|
|
|
|
|
// Pulsing Colors Based On The Rotation
|
2008-02-20 21:43:41 +00:00
|
|
|
glColor3f((1.0f * (GLfloat)(cos(rot / 20.0f))),
|
|
|
|
(1.0f * (GLfloat)(sin(rot / 25.0f))),
|
|
|
|
(1.0f - 0.5f * (GLfloat)(cos(rot / 17.0f))));
|
2008-01-01 22:15:10 +00:00
|
|
|
|
|
|
|
// Print GL Text To The Screen
|
|
|
|
glPrint(m_Text);
|
|
|
|
|
|
|
|
// Make The Text Blue
|
|
|
|
glColor3f(0.0f, 0.0f, 1.0f);
|
|
|
|
|
|
|
|
// Increase The Rotation Variable
|
2011-08-24 12:33:45 +00:00
|
|
|
if(dwTicks)
|
|
|
|
rot += (GetTickCount() - dwTicks) / 20.0f;
|
|
|
|
dwTicks = GetTickCount();
|
2007-10-26 22:34:42 +00:00
|
|
|
}
|
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
LRESULT CALLBACK
|
2008-02-20 21:43:41 +00:00
|
|
|
ScreenSaverProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
2007-10-26 22:34:42 +00:00
|
|
|
{
|
2008-02-20 21:43:41 +00:00
|
|
|
RECT Screen; // Used Later On To Get The Size Of The Window
|
|
|
|
GLuint PixelFormat; // Pixel Format Storage
|
|
|
|
static PIXELFORMATDESCRIPTOR pfd= // Pixel Format Descriptor
|
2008-01-01 22:15:10 +00:00
|
|
|
{
|
2008-02-20 21:43:41 +00:00
|
|
|
sizeof(PIXELFORMATDESCRIPTOR), // Size Of This Pixel Format Descriptor
|
|
|
|
1, // Version Number (?)
|
|
|
|
PFD_DRAW_TO_WINDOW | // Format Must Support Window
|
|
|
|
PFD_SUPPORT_OPENGL | // Format Must Support OpenGL
|
|
|
|
PFD_DOUBLEBUFFER, // Must Support Double Buffering
|
|
|
|
PFD_TYPE_RGBA, // Request An RGBA Format
|
|
|
|
16, // Select A 16Bit Color Depth
|
|
|
|
0, 0, 0, 0, 0, 0, // Color Bits Ignored (?)
|
|
|
|
0, // No Alpha Buffer
|
|
|
|
0, // Shift Bit Ignored (?)
|
|
|
|
0, // No Accumulation Buffer
|
|
|
|
0, 0, 0, 0, // Accumulation Bits Ignored (?)
|
|
|
|
16, // 16Bit Z-Buffer (Depth Buffer)
|
|
|
|
0, // No Stencil Buffer
|
|
|
|
0, // No Auxiliary Buffer (?)
|
|
|
|
PFD_MAIN_PLANE, // Main Drawing Layer
|
|
|
|
0, // Reserved (?)
|
|
|
|
0, 0, 0 // Layer Masks Ignored (?)
|
2008-01-01 22:15:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
switch (message)
|
|
|
|
{
|
|
|
|
case WM_CREATE:
|
2008-02-20 21:43:41 +00:00
|
|
|
LoadSettings();
|
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
// Gets A Device Context For The Window
|
|
|
|
hDC = GetDC(hWnd);
|
|
|
|
|
|
|
|
// Finds The Closest Match To The Pixel Format We Set Above
|
|
|
|
PixelFormat = ChoosePixelFormat(hDC, &pfd);
|
|
|
|
|
|
|
|
// No Matching Pixel Format?
|
|
|
|
if (!PixelFormat)
|
|
|
|
{
|
|
|
|
MessageBox(0, _TEXT("Can't Find A Suitable PixelFormat."), _TEXT("Error"),MB_OK | MB_ICONERROR);
|
|
|
|
|
|
|
|
// This Sends A 'Message' Telling The Program To Quit
|
|
|
|
PostQuitMessage(0);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Can We Set The Pixel Mode?
|
|
|
|
if (!SetPixelFormat(hDC, PixelFormat, &pfd))
|
|
|
|
{
|
|
|
|
MessageBox(0, _TEXT("Can't Set The PixelFormat."), _TEXT("Error"), MB_OK | MB_ICONERROR);
|
|
|
|
|
|
|
|
// This Sends A 'Message' Telling The Program To Quit
|
|
|
|
PostQuitMessage(0);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Grab A Rendering Context
|
|
|
|
hRC = wglCreateContext(hDC);
|
|
|
|
|
|
|
|
// Did We Get One?
|
|
|
|
if (!hRC)
|
|
|
|
{
|
|
|
|
MessageBox(0, _TEXT("Can't Create A GL Rendering Context."), _TEXT("Error"), MB_OK | MB_ICONERROR);
|
|
|
|
|
|
|
|
// This Sends A 'Message' Telling The Program To Quit
|
|
|
|
PostQuitMessage(0);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Can We Make The RC Active?
|
|
|
|
if (!wglMakeCurrent(hDC, hRC))
|
|
|
|
{
|
|
|
|
MessageBox(0, _TEXT("Can't Activate GLRC."), _TEXT("Error"), MB_OK | MB_ICONERROR);
|
|
|
|
|
|
|
|
// This Sends A 'Message' Telling The Program To Quit
|
|
|
|
PostQuitMessage(0);
|
|
|
|
break;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Grab Screen Info For The Current Window
|
|
|
|
GetClientRect(hWnd, &Screen);
|
|
|
|
|
|
|
|
// Initialize The GL Screen Using Screen Info
|
|
|
|
InitGL(Screen.right, Screen.bottom);
|
|
|
|
break;
|
|
|
|
|
|
|
|
case WM_DESTROY:
|
|
|
|
// Disable Fullscreen Mode
|
|
|
|
ChangeDisplaySettings(NULL, 0);
|
|
|
|
|
|
|
|
// Deletes The Font Display List
|
|
|
|
KillFont();
|
|
|
|
|
|
|
|
// Make The DC Current
|
|
|
|
wglMakeCurrent(hDC, NULL);
|
|
|
|
|
|
|
|
// Kill The RC
|
|
|
|
wglDeleteContext(hRC);
|
|
|
|
|
|
|
|
// Free The DC
|
|
|
|
ReleaseDC(hWnd, hDC);
|
|
|
|
break;
|
|
|
|
|
|
|
|
case WM_PAINT:
|
|
|
|
DrawGLScene();
|
|
|
|
SwapBuffers(hDC);
|
|
|
|
break;
|
|
|
|
|
|
|
|
case WM_SIZE: // Resizing The Screen
|
|
|
|
// Resize To The New Window Size
|
|
|
|
ReSizeGLScene(LOWORD(lParam), HIWORD(lParam));
|
|
|
|
break;
|
|
|
|
|
|
|
|
default:
|
2008-02-20 21:43:41 +00:00
|
|
|
// Pass Windows Messages to the default screensaver window procedure
|
|
|
|
return DefScreenSaverProc(hWnd, message, wParam, lParam);
|
2008-01-01 22:15:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
return 0;
|
2007-10-26 22:34:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
//
|
2008-01-01 22:15:10 +00:00
|
|
|
// Dialogbox procedure for Configuration window
|
2007-10-26 22:34:42 +00:00
|
|
|
//
|
2008-02-20 21:43:41 +00:00
|
|
|
BOOL CALLBACK ScreenSaverConfigureDialog(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|
2007-10-26 22:34:42 +00:00
|
|
|
{
|
2008-01-01 22:15:10 +00:00
|
|
|
switch (uMsg)
|
|
|
|
{
|
2007-10-26 22:34:42 +00:00
|
|
|
case WM_INITDIALOG:
|
2008-02-20 21:43:41 +00:00
|
|
|
LoadSettings();
|
|
|
|
SetDlgItemText(hDlg, IDC_MESSAGE_TEXT, m_Text);
|
2008-01-01 22:15:10 +00:00
|
|
|
return TRUE;
|
|
|
|
|
2007-10-26 22:34:42 +00:00
|
|
|
case WM_COMMAND:
|
2008-01-01 22:15:10 +00:00
|
|
|
switch (LOWORD(wParam))
|
2007-10-26 22:34:42 +00:00
|
|
|
{
|
|
|
|
case IDOK:
|
2008-02-20 21:43:41 +00:00
|
|
|
GetDlgItemText(hDlg, IDC_MESSAGE_TEXT, m_Text, MAX_PATH);
|
2008-01-01 22:15:10 +00:00
|
|
|
SaveSettings();
|
2008-02-20 21:43:41 +00:00
|
|
|
|
|
|
|
/* Fall through */
|
2008-01-01 22:15:10 +00:00
|
|
|
|
2007-10-26 22:34:42 +00:00
|
|
|
case IDCANCEL:
|
2008-02-20 21:43:41 +00:00
|
|
|
EndDialog(hDlg, IDCANCEL);
|
2008-01-01 22:15:10 +00:00
|
|
|
break;
|
2007-10-26 22:34:42 +00:00
|
|
|
}
|
2008-01-01 22:15:10 +00:00
|
|
|
return FALSE;
|
|
|
|
|
|
|
|
case WM_CLOSE:
|
2008-02-20 21:43:41 +00:00
|
|
|
EndDialog(hDlg, 0);
|
2008-01-01 22:15:10 +00:00
|
|
|
break;
|
|
|
|
|
2007-10-26 22:34:42 +00:00
|
|
|
default:
|
|
|
|
return FALSE;
|
2008-01-01 22:15:10 +00:00
|
|
|
}
|
2007-10-26 22:34:42 +00:00
|
|
|
|
2008-01-01 22:15:10 +00:00
|
|
|
return TRUE;
|
2007-10-26 22:34:42 +00:00
|
|
|
}
|
|
|
|
|
2008-02-20 21:43:41 +00:00
|
|
|
BOOL WINAPI RegisterDialogClasses(HANDLE hInst)
|
2007-10-26 22:34:42 +00:00
|
|
|
{
|
2008-02-20 21:43:41 +00:00
|
|
|
return TRUE;
|
2007-10-26 22:34:42 +00:00
|
|
|
}
|