Click here to Skip to main content
15,891,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Linked list help?! Pin
Christian Graus7-Jun-01 13:23
protectorChristian Graus7-Jun-01 13:23 
GeneralNT compilation and linking time Pin
7-Jun-01 1:47
suss7-Jun-01 1:47 
GeneralAccessing records through Recordset Pointer Pin
yamini7-Jun-01 1:42
yamini7-Jun-01 1:42 
GeneralRe: Accessing records through Recordset Pointer Pin
Phil Boyd7-Jun-01 3:21
Phil Boyd7-Jun-01 3:21 
GeneralRe: Accessing records through Recordset Pointer Pin
yamini7-Jun-01 20:16
yamini7-Jun-01 20:16 
GeneralOpenGL Pin
7-Jun-01 0:53
suss7-Jun-01 0:53 
GeneralRe: OpenGL Pin
Michael P Butler7-Jun-01 1:30
Michael P Butler7-Jun-01 1:30 
GeneralRe: OpenGL Pin
Ulf Öhlén9-Jun-01 22:56
Ulf Öhlén9-Jun-01 22:56 
Drawing the box twice is fine, but you have to use polygon offsets or there will be some ugly effects.

glPolygonMode(GL_FRONT_AND_BACK, GL_FILL);
glEnable(GL_POLYGON_OFFSET_FILL); // Enable polygon offset
glPolygonOffset(1.0f, 1.0f);
DrawMyBox(); // Draw filled box
glDisable(GL_POLYGON_OFFSET_FILL);

glPolygonMode(GL_FRONT_AND_BACK, GL_LINE);
DrawMyBox(); // Draw outlined box


--------------
"Criticism is often constructive because it makes you feel superior when you give it"
-- Dogbert
GeneralSimpleFrame and Windowless Pin
7-Jun-01 0:30
suss7-Jun-01 0:30 
GeneralRe: SimpleFrame and Windowless Pin
Michael P Butler7-Jun-01 0:33
Michael P Butler7-Jun-01 0:33 
GeneralCopying files Pin
confalonieri6-Jun-01 23:29
confalonieri6-Jun-01 23:29 
GeneralRe: Copying files Pin
Tomasz Sowinski6-Jun-01 23:37
Tomasz Sowinski6-Jun-01 23:37 
GeneralDisplay data in Dialog Box Pin
louis6-Jun-01 23:10
louis6-Jun-01 23:10 
GeneralRe: Display data in Dialog Box Pin
Masaaki Onishi7-Jun-01 4:16
Masaaki Onishi7-Jun-01 4:16 
GeneralRe: Display data in Dialog Box Pin
louis7-Jun-01 21:20
louis7-Jun-01 21:20 
GeneralGet number of 1s in a set of binary numbers Pin
hearties6-Jun-01 23:04
hearties6-Jun-01 23:04 
GeneralRe: Get number of 1s in a set of binary numbers Pin
Mark Jones6-Jun-01 23:53
Mark Jones6-Jun-01 23:53 
GeneralRe: Get number of 1s in a set of binary numbers Pin
markkuk7-Jun-01 0:38
markkuk7-Jun-01 0:38 
Generalpreviewing word documents Pin
Kannan Kalyanaraman6-Jun-01 21:19
Kannan Kalyanaraman6-Jun-01 21:19 
GeneralChart in VC++ MFC Pin
Aky6-Jun-01 19:59
Aky6-Jun-01 19:59 
GeneralRe: Chart in VC++ MFC Pin
Christian Graus7-Jun-01 13:29
protectorChristian Graus7-Jun-01 13:29 
GeneralWhat's wrong with my code? (class template) Pin
Li Lirong6-Jun-01 19:25
Li Lirong6-Jun-01 19:25 
GeneralRe: What's wrong with my code? (class template) Pin
Vivek Rajan6-Jun-01 20:00
Vivek Rajan6-Jun-01 20:00 
GeneralRe: What's wrong with my code? (class template) Pin
Li Lirong6-Jun-01 21:02
Li Lirong6-Jun-01 21:02 
GeneralRe: What's wrong with my code? (class template) Pin
7-Jun-01 4:23
suss7-Jun-01 4:23 

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.