$scope.works = 
[
    {
      wproperties:'<span>text #1</span><span>text #2</span><span>text #2</span><span>text #3</span>' 
    }
]

<span ng-bind-html="work.wproperties"></span>

span is printing as null, who can help me? controllers and ng-app working so ng-bind-html not working..

Working css :

<style type="text/css">
    body {
        width:550px;
        margin-left:auto;
        margin-right:auto;
    }

    ul.main {
    }

    ul.main li {
        list-style-type:none;
        border:1px solid #333;
        float:left;
        width:10em;
        text-align:center;
        cursor:pointer;
    }

    ul.main li ul.sub {
        display:none;
        color:#F00;
        margin-left:-41px;
    }

    ul.main li:hover ul.sub {
        display:block;
    }

    ul.main li:hover ul.sub li a {
        text-decoration:none;
        color:#F00;
    }

    ul.main li:hover ul.sub li a:hover {
        color:#900;
    }
</style>

And HTML :

<ul class="main">
    <li>Home</li>
    <li>
        Products
        <ul class="sub">
            <li><a href="#">Product 1</a></li>
            <li><a href="#">Product 2</a></li>
            <li><a href="#">Product 3</a></li>
        </ul>
   </li>
   <li>About</li>
</ul>

Hi,
I want to show/hide my MFC Dialog from another class;

Main App : HomeWorkApp
Main Dlg : HomeWorkDlg

#include "HomeWorkDlg.h"
#include "HomeWorkApp.h"

CWorkUser::CWorkUser()
{
    // Initialize MFC Dialog here..
    // How ??
    MainDlg->ShowWindow(SW_SHOW);
}

CWorkUser::~CWorkUser()
{
    // Finalize MFC Dialog here..
}

Thanks..

Hi,
I want to learn window count of one process,
who have any idea about this?

How can i disable or hide mfc application taskbar icon?

seems like "ShowInTaskBar = false";

Yes and how?

Hi guys, i want to create mfc application in custom DLL, another C++ application init dll dialog will be shown is it possible?

thanks tinstaafl.

Hi every body, i want to get a data from List so;

class Npc : IDisposable 
{
    public short id;
    public float fX;
    public float fZ;
    public float fY;
}

internal List<Npc> m_arNpcArray = new List<Npc>();

I want to get data like this;
m_arNpcArray.GetData(int id);

GetData() {
 for(int i = 0; i < List.Count; i++) {
     if(List[i].id == id)
     {
         return List[i];
     }
 }
}

how can i declare m_arNpcArray.GetData ??

It's well done so thanks bro, please add me facebook.com/efe.ozyer

Thanks for reply, so GetByte reading bytes from server/client packet not convert,
Byte size 2, Short size 4, DWORD size 8
String size comin with packet

Simple packet : 15 + D75EBC0F + 5811

char *pBuff = 15D75EBC0F5811 
Byte Val1 = GetByte(pBuff, index);
DWORD Val2 = GetDWORD(pBuff, index);
Short Val3 = GetShort(pBuff, index);

You can use windows forms.
this.hide();

BYTE GetByte(char* sBuf, int& index)
{
    int t_index = index;
    index++;
    return (BYTE)(*(sBuf+t_index));
}

int GetShort(char* sBuf, int& index)
{
    index += 2;
    return *(short*)(sBuf+index-2);
}

and i cannot convert this