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
Y

Yaron Nir

@Yaron Nir
About
Posts
13
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Pre-Compile Actions
    Y Yaron Nir

    Hi , thanks for your reply. pre-line is not pre-comile, i need to call the *.bat before any sort of compilation starts..... can u still help me? Yaron Ask not what the application can do for you, ask what you can do for your application

    C / C++ / MFC question c++

  • Pre-Compile Actions
    Y Yaron Nir

    Hello, I know in the project settings of VC++ you can perform some actions only in 'pre-link' and 'post-build' times. i have a *.bat file that i want it to run before the compilation starts..... any1 knows how can i do it? thanks in advanced Yaron Ask not what the application can do for you, ask what you can do for your application

    C / C++ / MFC question c++

  • Hanldes question - need experts opinion
    Y Yaron Nir

    thanks for reply, i will try out the www.sysinternals.com ... and see if it helps me.... Ask not what the application can do for you, ask what you can do for your application

    C / C++ / MFC question graphics help

  • Hanldes question - need experts opinion
    Y Yaron Nir

    thanks for the reply, I am not using either soft u've mentined.... i only used task manager and GDIObj.exe viewer..... i need to track down "HANDLE" leaks because my application increasing the opertating system handle counter and at somepoint it exceeds the maximum handles number..... i can not find in my code where it happens, i need an out-side monitor....what can u recoomend? Ask not what the application can do for you, ask what you can do for your application

    C / C++ / MFC question graphics help

  • Hanldes question - need experts opinion
    Y Yaron Nir

    thanks for the reply, will glowcode help me track down "HANDLE" leaks? Ask not what the application can do for you, ask what you can do for your application

    C / C++ / MFC question graphics help

  • Hanldes question - need experts opinion
    Y Yaron Nir

    Hi all, I was monitoring my applicaiton using the task manager for Handle creation and destructions. I've viewed my code and where i have CreateEvent , there is CloseHandle. plus i use GDIObject utilities to check for un-handled GDI objects and there weren't any...... what else can produce a hadnle???? how can i monitor my code for that?? can any1 help? thanks in advanced Yaron Ask not what the application can do for you, ask what you can do for your application

    C / C++ / MFC question graphics help

  • BSTR --> CString ?
    Y Yaron Nir

    the best & easy way to conver BSTR to string is use the com_util helper as follows: _bstr_t tmpBSTR = _com_util::ConvertStringToBSTR(szString); or the other way around: CString szString = _com_util::ConvertBSTRToString((BSTR)tmpBSTR); you can check out the definitions of this functions in COMUTIL.H hope this helps ya Yaron Ask not what the application can do for you, ask what you can do for your application

    C / C++ / MFC c++ question

  • OwnerDraw ListCtrl problem - help!
    Y Yaron Nir

    Hi all, I have an owner draw list ctrl. i want to force a vertical scroll to be shown when the dialog that the list sits on appears. this is the code i've tried : ListView_SetExtendedListViewStyle(m_lc.m_hWnd, LVS_EX_FLATSB|LVS_EX_FULLROWSELECT ); now i've inserted some columns and then: m_lc.ModifyStyle(0,WS_VSCROLL); m_lc.SetScrollRange(SB_VERT,0,100); m_lc.SetScrollPos(SB_VERT,0); m_lc.ShowScrollBar(SB_VERT); this doesn't show the vertical scroll bar. the bar only show when the limit of inserted items succeeds. can any1 show me what to do in order to force the scroll bar? thanks in advanced Yaron Ask not what the application can do for you, ask what you can do for your application

    C / C++ / MFC help question

  • ListCtrl Ownder Draw problem
    Y Yaron Nir

    Hi, i have created my own list ctrl that inherites from CListCtrl and has the property ownder draw fixed. I want to force it to show vertical scroll bar. i wrote the following code: m_lc.ModifyStyle(0,WS_VSCROLL); m_lc.SetScrollRange(SB_VERT,0,100); m_lc.SetScrollPos(SB_VERT,0); m_lc.ShowScrollBar(SB_VERT); if i hook with spy++ to the list ctrl , i can see that the style was changed and now has WS_VSCROLL, but i don't see the vertical scroll bar. it only appears when many items has been inserted to the list.... can any1 help? thanks Yaron Ask not what the application can do for you, ask what you can do for your application

    C / C++ / MFC help question

  • Scroll bar question - need experts help here
    Y Yaron Nir

    Hi, thanks for reply. when should i call this function, shall i call it when OnSize() occurs??? Yaron Ask not what the application can do for you, ask what you can do for your application

    C / C++ / MFC help question

  • Scroll bar question - need experts help here
    Y Yaron Nir

    I am trying to to remove the horizontal bar so it won't ever appear.... can u help? thanks Ask not what the application can do for you, ask what you can do for your application

    C / C++ / MFC help question

  • Hiding vertical scrollbar in CListCtrl
    Y Yaron Nir

    Hello, I have the same problem in horizontal scroll, i am trying to make it disappear. i tried also in the OnSize same as you and it didn't work.... i would like to know if u solved the problem, if u did can u tell me how please? thanks in advanced Yaron Ask not what the application can do for you, ask what you can do for your application

    C / C++ / MFC question

  • Scroll bar question - need experts help here
    Y Yaron Nir

    Hi, i am trying to disable the horizontal scroll bar in list ctrl. the scroll doesn't appear until i add a lot of items in the list (it appears because the vertical scroll bar appears as well). here is the code i use void CMyListCtrl::OnStyleChanging(int nStyleType,LPSTYLESTRUCT lpStyleStruct) { if (nStyleType != GWL_STYLE) { CListCtrl::OnStyleChanging(nStyleType,lpStyleStr uct); return; } lpStyleStruct->styleNew &= ~WS_HSCROLL; SetWindowLong(m_hWnd,GWL_STYLE,lpStyleStruct->styleNew); } this indeed change the style of the list not to have WS_HSCROLL bar, but the scroll bar is still shown.... please help me i am really desperate, this is the 4th post i am asking for help thanks Yaron Ask not what the application can do for you, ask what you can do for your application

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