Click here to Skip to main content
15,880,469 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionSetOwner(CWnd* pOwnerWnd); Pin
Rakesh523-Jul-09 3:02
Rakesh523-Jul-09 3:02 
AnswerRe: SetOwner(CWnd* pOwnerWnd); Pin
CPallini23-Jul-09 3:47
mveCPallini23-Jul-09 3:47 
QuestionFindItem of ListCtrl not find exact string in list. Pin
Le@rner23-Jul-09 2:32
Le@rner23-Jul-09 2:32 
AnswerRe: FindItem of ListCtrl not find exact string in list. Pin
krmed23-Jul-09 2:43
krmed23-Jul-09 2:43 
AnswerRe: FindItem of ListCtrl not find exact string in list. Pin
Muhammad Mazhar23-Jul-09 2:54
Muhammad Mazhar23-Jul-09 2:54 
QuestionLocking 24bpp bitmap portion Pin
Chesnokov Yuriy23-Jul-09 1:24
professionalChesnokov Yuriy23-Jul-09 1:24 
AnswerRe: Locking 24bpp bitmap portion Pin
uraeu23-Jul-09 3:08
uraeu23-Jul-09 3:08 
AnswerRe: Locking 24bpp bitmap portion Pin
Chesnokov Yuriy23-Jul-09 4:07
professionalChesnokov Yuriy23-Jul-09 4:07 
I need to do it using GDI+
How do we need to decrease bitmap width, that after it was locked to read its RGB triplets, the stride in that array will be equal to (3 * width)

e.g. 640x480 24bpp bitmap has stride 1920 = 3 * 640
but some 257x150 24bpp has stride not equal to 3 * 257

What is the formula to decrease 257 to fit into 3 * width = stride?

Чесноков

AnswerRe: Locking 24bpp bitmap portion Pin
Randor 23-Jul-09 5:25
professional Randor 23-Jul-09 5:25 
QuestionRe: Locking 24bpp bitmap portion Pin
Chesnokov Yuriy23-Jul-09 8:06
professionalChesnokov Yuriy23-Jul-09 8:06 
AnswerRe: Locking 24bpp bitmap portion Pin
Randor 23-Jul-09 8:27
professional Randor 23-Jul-09 8:27 
QuestionRe: Locking 24bpp bitmap portion Pin
Chesnokov Yuriy23-Jul-09 19:24
professionalChesnokov Yuriy23-Jul-09 19:24 
AnswerRe: Locking 24bpp bitmap portion Pin
Randor 23-Jul-09 23:25
professional Randor 23-Jul-09 23:25 
Question"Ok" and "Apply" functions are overruled by the other property pages. Pin
aravind.sn23-Jul-09 1:14
aravind.sn23-Jul-09 1:14 
AnswerRe: "Ok" and "Apply" functions are overruled by the other property pages. Pin
uraeu23-Jul-09 3:03
uraeu23-Jul-09 3:03 
GeneralRe: "Ok" and "Apply" functions are overruled by the other property pages. Pin
aravind.sn23-Jul-09 3:14
aravind.sn23-Jul-09 3:14 
QuestionIn Windows Operating system where does the ACL of an object is stored Pin
Anil Veeraghattapu 423-Jul-09 0:52
Anil Veeraghattapu 423-Jul-09 0:52 
AnswerRe: In Windows Operating system where does the ACL of an object is stored [modified] Pin
Adam Roderick J23-Jul-09 1:08
Adam Roderick J23-Jul-09 1:08 
QuestionVisual C++ MFC,CDocument::SetTitle invalid Pin
akira3222-Jul-09 21:38
akira3222-Jul-09 21:38 
AnswerRe: Visual C++ MFC,CDocument::SetTitle invalid Pin
Kushagra Tiwari23-Jul-09 0:04
Kushagra Tiwari23-Jul-09 0:04 
QuestionProblem with ReadFile Funhction Pin
Shiv Murti Pal22-Jul-09 21:19
Shiv Murti Pal22-Jul-09 21:19 
AnswerRe: Problem with ReadFile Funhction Pin
Michael Schubert22-Jul-09 21:47
Michael Schubert22-Jul-09 21:47 
GeneralRe: Problem with ReadFile Funhction Pin
Shiv Murti Pal22-Jul-09 23:37
Shiv Murti Pal22-Jul-09 23:37 
GeneralRe: Problem with ReadFile Funhction Pin
Michael Schubert22-Jul-09 23:53
Michael Schubert22-Jul-09 23:53 
GeneralRe: Problem with ReadFile Funhction Pin
Shiv Murti Pal23-Jul-09 2:27
Shiv Murti Pal23-Jul-09 2:27 

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.