Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
B

Benjamin Bruno

@Benjamin Bruno
About
Posts
47
Topics
35
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Dynamically creating CToolBar
    B Benjamin Bruno

    hi I want to create CtoolBar dynamically, without the resource( RC file) entries. Load image to Toolbar and set size based on certain condition. RC file entries makes it predefined. your help is much appreciated.

    C / C++ / MFC help learning

  • WPF assembly in C#
    B Benjamin Bruno

    I want to create a WPF dll( assembly),so that I can use it in some other C# or VC++ application. Please help.

    C# csharp c++ wpf help

  • Executable created using ant build
    B Benjamin Bruno

    Application developed by javafx while build the application it will create this three file with the application exe msvcp100.dll msvcr100.dll packager.dll then double click the .exe application crash shows the error like Problem Event Name: APPCRASH Application Name: SimulatorEndUser.exe Application Version: 0.0.0.0 Application Timestamp: 55761984 Fault Module Name: packager.dll Fault Module Version: 0.0.0.0 Fault Module Timestamp: 55761993 Exception Code: c0000005 Exception Offset: 000129a0 OS Version: 6.1.7601.2.1.0.256.48 Locale ID: 1033 Additional Information 1: 0a9e Additional Information 2: 0a9e372d3b4ad19135b953a78882e789 Additional Information 3: 0a9e Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

    Java help java

  • Executable created using ant build
    B Benjamin Bruno

    hi I have created a java application(exe). Now when I try to execute the application from a directory whose name is in unicode(Japanese),it crashes. I could not figure out the problem ,its showing packager.dll issue. Please help..

    Java help java

  • Problem in reading BMP Header
    B Benjamin Bruno

    Hi, I'm trying to read a BMP image, the code is as follows. If i'm using a value 820 as BMP_HEADER_SIZE, my program works fine. I tried calculating the BMP_HEADER_SIZE value by summing the size of structure tagBITMAPFILEHEADER and tagBITMAPINFOHEADER (from BMP header file) but the program is not working. How can i solve this? Class BlockinessProc. # define BMP_HEADER_SIZE 820 void ReadImage(const char* filename); char m_info[BMP_HEADER_SIZE]; unsignedchar** m_memblock; void Blockinessproc::ReadImage(const char* filename)// Reading a BMP Image { streampos size; ifstream inFile; inFile.open(filename, ios::in|ios::binary); if (inFile.is_open()) { inFile.seekg (0, ios::beg); long nHeaderSize = sizeof(BITMAPFILEHEADER) + sizeof(BITMAPINFOHEADER); inFile.read ((char*)m_info, nHeaderSize); width = *(int*)&m_info[18]; //Getting Image width from Header height = *(int*)&m_info[22];// Getting Image height from Header long pos = inFile.tellg(); m_memblock = new uchar* [width]; m_memblock_out = new uchar* [width]; for (int i = 0; i < height; i++) // create new array size: height of image. { m_memblock[i] = new uchar [width*3]; m_memblock_out[i] = new uchar [width*3]; } int size_s = inFile.gcount(); inFile.seekg (pos); for(int i=0; i(m_memblock[i]), width*3); } inFile.close(); } } Thanks in Advance

    C / C++ / MFC question ios data-structures help

  • memset() run time error
    B Benjamin Bruno

    may be give memset(pSharedBuffer2, 0, max_msg );

    C / C++ / MFC help tutorial

  • CIPAddressCtrl background color
    B Benjamin Bruno

    Hi How to change the background color of CIPAddressCtrl . Thanks

    C / C++ / MFC tutorial

  • Coloring ClistBox control
    B Benjamin Bruno

    Hi How to color the CListBox controls entire client area ? I mean entire client rect. Thanks

    C / C++ / MFC tutorial question

  • Loading ICON
    B Benjamin Bruno

    Hi How to load ICON file in Dialog application client area in VC8.

    C / C++ / MFC tutorial

  • load dll
    B Benjamin Bruno

    How to load dll in pure C++ class?

    C / C++ / MFC c++ tutorial question

  • CString to HEX
    B Benjamin Bruno

    Hi How to convert a CString value to HEX? eg: CString strHex = "0008103e"; to HEX value = 0x0008103e please help Thanks

    C / C++ / MFC help tutorial question

  • XML parsing
    B Benjamin Bruno

    Hi In my code I am parsing XML using MSXML .But I am not able to get Node values using MSXML .How to read the node values?

            IXMLDOMNode\* nodeVal;
            CString csXMLValue;
            BSTR bsSelectedNodeItemName;
            hResult = pChildNodeList->get\_item( nIdx, &nodeVal );
           
            hResult = nodeVal->get\_nodeName(&bsSelectedNodeItemName);
            if ( 0 == \_tcscmp( OLE2T( bsSelectedNodeItemName ), L"User" ) )
            {
                nodeVal->get\_nodeValue(&**vtNodeValue**);
            }
    

    but vtNodeValue is NULL .My XML node structure is

    <User >2700</User>
    <User>3700</User>

    I want to read the node values ie,2700 and 3700

    thanks in advance

    C / C++ / MFC xml json tutorial question

  • Radio Button Caption
    B Benjamin Bruno

    Hi How to change the radio button caption text color( MFC ).By default it is showing Black color.I want the radio button caption text color, other than default color. Thanks

    C / C++ / MFC c++ tutorial

  • Drawing
    B Benjamin Bruno

    hi I want to draw a perpendicular line from another line.How can it be implemented in VC++(GDI). thanks :^)

    C / C++ / MFC graphics c++

  • Line Drawing
    B Benjamin Bruno

    Hi I want to draw line on OnMouseMove function of a dialog class.I want to draw the line in one color(fixed color not inverse color ),but it is showing in different/inverse color. If I omit SetROP2 the line will get spread. <code> CDC* pDC = this->GetDC(); int nR2 = pDC->SetROP2( R2_NOTXORPEN ); pDC->MoveTo(m_StartPoint); pDC->LineTo(m_Previouspoint); m_Previouspoint = point; pDC->MoveTo(m_StartPoint); pDC->LineTo(point); </code> How to solve it? :^) thanks

    C / C++ / MFC graphics tutorial question

  • Getting path count
    B Benjamin Bruno

    Hi BeginPath(hdc) Ellipse( hdc,0,0,200,200 ); EndPath(hdc); FlattenPath( hdc); LPPOINT pt; LPBYTE byt; int nCnt= 0; nCnt = GetPath(hdc, (LPPOINT)NULL,(LPBYTE)NULL,0); if( nCnt != 0 ) { pt = new POINT[nCnt]; byt =new BYTE[nCnt]; } Is this code produce correct path count (nCnt) in the given ellipse?

    C / C++ / MFC question

  • Hit testing
    B Benjamin Bruno

    Hi How to find hit testing of Circle/ellipse using mathematical formulas(not using Regions)? thanks :)

    C / C++ / MFC testing beta-testing tutorial question

  • Hide TilteBar CMFCToolBar window
    B Benjamin Bruno

    How to Hide the TilteBar of a window Created Using CMFCToolBar in Floating Style

    C / C++ / MFC tutorial

  • CListCtrl
    B Benjamin Bruno

    Hi How to change the default Blue selected color of CListCtrl to White?

    C / C++ / MFC tutorial question

  • Wrapper Class
    B Benjamin Bruno

    Hi How to create a wrapper class for an existing class? thanks : :^)

    C / C++ / MFC tutorial question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups