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
X

xSoptik

@xSoptik
About
Posts
8
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Modal vs Child CDialog style. BIG PROBLEM
    X xSoptik

    Hello all, I have a CDialog derived class that is set as Child, no border, no title bar, no menu. I am using this dialog as a child in another dialog. BUT, I would like to use this child dialog as a MODAL dialog. If I use this code : { CDlgEcu locDlgEcu; if( locDlgEcu.DoModal() == IDOK ){ // ADD DATA TO LIST } } then I can see only some controls from this dialog and dont see dialog backgroud, title bar, border ... if I try to use ModifyStyle so this function set some of flags but not all that I need .... this code dont work: ModifyStyle( (~0x00), WS_POPUP|WS_VISIBLE|WS_CLIPSIBLINGS|WS_CAPTION|(WS_SYSMENU|WS_THICKFRAME) ); ModifyStyleEx( (~0x00), WS_EX_CONTROLPARENT|WS_EX_WINDOWEDGE); Does anybody have ANY advice, please? thnx. xSoptik

    C / C++ / MFC visual-studio help question

  • New build configuration ????
    X xSoptik

    :) Thanx In VC7 there is a little different situation. That choose is hidden in popup menu.

    C / C++ / MFC debugging help question announcement workspace

  • New build configuration ????
    X xSoptik

    Hello all, can anyone tell me how I can add new build configuration?? In new project are two conf. Debug and Release. I would like add Debug Unicode, Release Unicode .... But there in no choise to do this .... :) please help me :) Thanx xSoptik

    C / C++ / MFC debugging help question announcement workspace

  • CAsyncSocket
    X xSoptik

    Hello all, I have CAsyncSocket class I have rewritten the virtual member function OnReceive: void CCommunication::OnReceive( int nErrorCode ) { if( nErrorCode == WSAENETDOWN ){ ASSERT( 0 ); return; } // do my useful task // parent CAsyncSocket::OnReceive( nErrorCode ); } This clas is used in main dialog window. Sometimes I am loosing packets ... Why? All packets are on the ethernet but I dont receive some of them. For example: There are 4 packets on the ETH but I receive only first three. This happens about three seconds after application start on Cel.900MHz@256MbRAM, and when I drag the main window by the title bar on the SempronMobile 3000+@704MbRAM The application is MFC dialog based. The communication is UDP. Thank you for any suggestion ... xSoptik

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

  • Window sizing by actual string and font
    X xSoptik

    Hello all, I would like to change window size by the actual string size. The string size deplend on the actual font. I am not able to get actual string lenght in pixels ... Do you now any function that returns actual string length in pixels? thank you for any advice

    C / C++ / MFC question

  • Messages and Windows
    X xSoptik

    The messages are not WM_USER but they are RegisterWindowMessage(s). Yes, when I drag window by the title bar there hapanned something and my registered message dont swim up in the main window WindowProc handler. This is happaned even if I only press left mouse button on the title bar. Why? Why? Why?

    C / C++ / MFC sysadmin question

  • What is #pragma pack()?
    X xSoptik

    Ok. I understand now. Thank you a lot. xSoptik

    C / C++ / MFC question

  • What is #pragma pack()?
    X xSoptik

    Hello all. Can someone tell me in simple way what happen when I use preprocessor option #pragma pack ? I tryed it but I thing there is no effect. Can you tell me what exactly happen? Thank you a lot. // sample code #pragma pack(1) // turn byte alignment on ????? enum mENUM { // an enum }; struct p_mStruct { UINT m_Ui; // and so on }; #pragma pack() // turn byte alignment off ????? Jaja Paja

    C / C++ / MFC 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